db\Expression $params

$params public property List of parameters that should be bound for this expression. The keys are placeholders appearing in $expression and the values are the corresponding parameter values. public array $params = []

db\Expression $expression

$expression public property The DB expression public string $expression = null

db\DataReader setFetchMode()

setFetchMode() public method Set the default fetch mode for this statement See also http://www.php.net/manual/en/function.PDOStatement-setFetchMode.php. public void setFetchMode ( $mode )$mode integer Fetch mode

db\Exception getName()

getName() public method public string getName ( )return string The user-friendly name of this exception

db\Exception $errorInfo

$errorInfo public property The error info provided by a PDO exception. This is the same as returned by PDO::errorInfo. public array $errorInfo = []

db\DataReader valid()

valid() public method Returns whether there is a row of data at current position. This method is required by the interface Iterator. public boolean valid ( )return boolean Whether there is a row of data at current position.

db\DataReader __construct()

__construct() public method Constructor. public void __construct ( yii\db\Command $command, $config = [] )$command yii\db\Command The command generating the query result $config array Name-value pairs that will be used to initialize the object properties

db\DataReader readColumn()

readColumn() public method Returns a single column from the next row of a result set. public mixed readColumn ( $columnIndex )$columnIndex integer Zero-based column index return mixed The column of the current row, false if no more rows available

db\DataReader rewind()

rewind() public method Resets the iterator to the initial state. This method is required by the interface Iterator. public void rewind ( )throws yii\base\InvalidCallException if this method is invoked twice

db\DataReader readObject()

readObject() public method Returns an object populated with the next row of data. public mixed readObject ( $className, $fields )$className string Class name of the object to be created and populated $fields array Elements of this array are passed to the constructor return mixed The populated object, false if no more row of data available