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

version» Context lines:

pike.git/lib/modules/Sql.pmod/pgsql.pike:966:   //! @member int ":_sync"   //! Forces synchronous parsing on or off for statements.   //! Setting this to off can cause surprises because statements could   //! be parsed before the previous statements have been executed   //! (e.g. references to temporary tables created in the preceding   //! statement),   //! but it can speed up parsing due to increased parallelism.   //! @endmapping   //!   //! @note - //! The bindings-parameter passed to this function must remain unaltered + //! The parameters referenced via the @expr{bindings@}-parameter-mapping + //! passed to this function must remain unaltered   //! until the parameters have been sent to the database. The driver   //! currently does not expose this moment, but to avoid a race condition   //! it is sufficient to keep them unaltered until the first resultrow   //! has been fetched (or EOF is reached, in case of no resultrows).   //!   //! @returns   //! A @[Sql.pgsql_util.Result] object (which conforms to the   //! @[Sql.Result] standard interface for accessing data). It is   //! recommended to use @[query()] for simpler queries (because   //! it is easier to handle, but stores all the result in memory), and