public column ( string $field, |
||
$field | string | the field to query over |
$db | the database connection used to execute the query. If this parameter is not given, the `elasticsearch` application component will be used. | |
리턴 | array | the first column of the query result. An empty array is returned if the query results in nothing. |