| Extracted from Pike v7.8 release 700 at 2013-06-08.

[Top]
Sql
Sql.mysql

# Method Sql.mysql()->big_typed_query()

Method big_typed_query

  `Mysql.mysql_result big_typed_query(string query, mapping(string|int:mixed)|void bindings, void|string charset)`

Description

  Makes a typed SQL query.

  This function sends the SQL query query to the Mysql-server.

  The types of the result fields depend on the corresponding SQL types. They are mapped as follows:

  `Sql.Null` | The `NULL` value is returned as Sql.NULL .
  `int` | Integer values are returned as `int` values.
  `float` | Floating point values are returned as `float` values.
  `string` | All other SQL field types are returned as `string` values.

  In all other respects, it behaves like big_query .

See also

  big_query() , streaming_typed_query()