Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]
Native postgresql recordset.
Copyright: | 2008 Petr Skoda (http://skodak.org) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 173 lines (5 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 1 file lib/dml/moodle_recordset.php |
pgsql_native_moodle_recordset:: (9 methods):
__construct()
fetch_cursor_block()
__destruct()
fetch_next()
current()
key()
next()
valid()
close()
Class: pgsql_native_moodle_recordset - X-Ref
pgsql specific moodle recordset class__construct($result, pgsql_native_moodle_database $db = null, $cursorname = '') X-Ref |
Build a new recordset to iterate over. When using cursors, $result will be null initially. param: resource|PgSql\Result|null $result A pg_query() result object to create a recordset from. param: pgsql_native_moodle_database $db Database object (only required when using cursors) param: string $cursorname Name of cursor or '' if none |
fetch_cursor_block() X-Ref |
Fetches the next block of data when using cursors. |
__destruct() X-Ref |
No description |
fetch_next() X-Ref |
No description |
current() X-Ref |
No description |
key() X-Ref |
No description |
next() X-Ref |
No description |
valid() X-Ref |
No description |
close() X-Ref |
No description |