Executes an SQL statement and returns the first column of all records.
public function UnbDatabase::QueryArray ($sql, $parameters = null);
(string) SQL statement
(PDOStatement) Already prepared statement
(array) Parameters to be used in this SQL statement, null
if no parameters are used.
An array of all records' first column
UnbDatabaseException | If the statement could not be prepared or executed. |
Member of class: UnbDatabase
Implementation file: database.class.php, line 829
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.