db\BatchQueryResult next()

next() public method Moves the internal pointer to the next dataset. This method is required by the interface Iterator. public void next ( )

db\BatchQueryResult key()

key() public method Returns the index of the current dataset. This method is required by the interface Iterator. public integer key ( )return integer The index of the current row.

db\BatchQueryResult fetchData()

fetchData() protected method Fetches the next batch of data. protected array fetchData ( )return array The data fetched

db\BatchQueryResult current()

current() public method Returns the current dataset. This method is required by the interface Iterator. public mixed current ( )return mixed The current dataset.

db\BatchQueryResult $query

$query public property The query object associated with this batch query. Do not modify this property directly unless after reset() is called explicitly. public yii\db\Query $query = null

db\BatchQueryResult $each

$each public property Whether to return a single row during each iteration. If false, a whole batch of rows will be returned in each iteration. public boolean $each = false

db\BatchQueryResult $db

$db public property The DB connection to be used when performing batch query. If null, the "db" application component will be used. public yii\db\Connection $db = null

db\BatchQueryResult $batchSize

$batchSize public property The number of rows to be returned in each batch. public integer $batchSize = 100

db\BaseActiveRecord __unset()

__unset() public method Sets a component property to be null. This method overrides the parent implementation by clearing the specified attribute value. public void __unset ( $name )$name string The property name or the event name

db\BaseActiveRecord __set()

__set() public method PHP setter magic method. This method is overridden so that AR attributes can be accessed like properties. public void __set ( $name, $value )$name string Property name $value mixed Property value