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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:1170:    else    startquery(forcetext, portal, q, tp, preparedname);    throwdelayederror(portal);    return portal;   }      //! This is an alias for @[big_query()], since @[big_query()] already supports   //! streaming of multiple simultaneous queries through the same connection.   //!   //! @seealso - //! @[big_query()], @[big_typed_query()], @[Sql.Connection], @[Sql.Result] + //! @[big_query()], @[big_typed_query()], @[streaming_typed_query()], + //! @[Sql.Connection], @[Sql.Result]   /*semi*/final variant inline .pgsql_util.Result streaming_query(string q,    void|mapping(string|int:mixed) bindings) {    return big_query(q, bindings);   }      //! This function returns an object that allows streaming and typed   //! results.   //!   //! @seealso   //! @[big_query()], @[Sql.Connection], @[Sql.Result]   /*semi*/final variant inline .pgsql_util.Result big_typed_query(string q,    void|mapping(string|int:mixed) bindings) {    return big_query(q, bindings, 1);   } -  +  + //! This function returns an object that allows streaming and typed + //! results. + //! + //! @seealso + //! @[big_query()], @[Sql.Connection], @[Sql.Result] + /*semi*/final variant inline .pgsql_util.Result streaming_typed_query(string q, +  void|mapping(string|int:mixed) bindings) { +  return big_query(q, bindings, 1); + }