one() public abstract method
Executes the query and returns a single row of result.
public abstract array|boolean one ( $db = null ) | ||
---|---|---|
$db | yii\db\Connection |
The database connection used to execute the query. If this parameter is not given, the |
return | array|boolean |
The first row (in terms of an array) of the query result. False is returned if the query results in nothing. |
Please login to continue.