pike.git / lib / modules / Sql.pmod / mysql.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/mysql.pike:664:    \    if (utf8_mode & UNICODE_DECODE_MODE) { \    CH_DEBUG ("Using unicode wrapper for result.\n"); \    return \    HAVE_MYSQL_FIELD_CHARSETNR_IFELSE ( \    .sql_util.MySQLUnicodeWrapper(res), \    .sql_util.MySQLBrokenUnicodeWrapper (res)); \    } \    return res;    - Result big_query (string query, + variant Result big_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Sends a query to the server.   //!   //! @param query   //! The SQL query.   //!   //! @param bindings   //! An optional bindings mapping. See @[Sql.query] for details about   //! this.
pike.git/lib/modules/Sql.pmod/mysql.pike:703:   //!   //! The individual fields are returned as strings except for @tt{NULL@},   //! which is returned as @[UNDEFINED].   //!   //! @seealso   //! @[Sql.big_query()], @[big_typed_query()], @[streaming_query()]   {    QUERY_BODY (big_query);   }    - Result streaming_query (string query, + variant Result streaming_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Makes a streaming SQL query.   //!   //! This function sends the SQL query @[query] to the Mysql-server.   //! The result of the query is streamed through the returned   //! @[Result] object. Note that the involved database   //! tables are locked until all the results has been read.   //!   //! In all other respects, it behaves like @[big_query].   //!   //! @seealso   //! @[big_query()], @[streaming_typed_query()]   {    QUERY_BODY (streaming_query);   }    - Result big_typed_query (string query, + variant Result big_typed_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Makes a typed SQL query.   //!   //! This function sends the SQL query @[query] to the MySQL server and   //! returns a result object in typed mode, which means that the types   //! of the result fields depend on the corresponding SQL types. See   //! the class docs for details.   //!   //! In all other respects, it behaves like @[big_query].   //!   //! @seealso   //! @[big_query()], @[streaming_typed_query()]   {    QUERY_BODY (big_typed_query);   }    - Result streaming_typed_query (string query, + variant Result streaming_typed_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Makes a streaming typed SQL query.   //!   //! This function acts as the combination of @[streaming_query()]   //! and @[big_typed_query()].   //!   //! @seealso   //! @[big_typed_query()], @[streaming_typed_query()]   {