Method __builtin.Sql.Connection()->query()
- Method
query
 array(mapping(string:string|zero)) query(object|stringq,mixed...extraargs)- Description
 Send an SQL query synchronously to the SQL-server and return the results in untyped mode.
For the arguments, please see the big_query() function.
- Returns
 Returns one of the following on success:
array(mapping(string:string))The result as an array of mappings indexed on the name of the columns. The values are either strings with the display representations or zero for the SQL NULL value.
zeroThe value
0(zero) if the query didn't return any result (eg INSERT or similar).- Throws
 Throws an exception if the query fails.
- Note
 The default implementation calls big_query() and converts its result.
- See also