Executes the query and returns the first column of the result.
public column ( |
||
$db | the database connection used to generate the SQL statement. If this parameter is not given, the `db` application component will be used. | |
Résultat | array | the first column of the query result. An empty array is returned if the query results in nothing. |