Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]

sqlsrv specific recordset.

Copyright: 2009 onwards Eloy Lafuente (stronk7) {@link http://stronk7.com}
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v2 or later
File Size: 142 lines (4 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 1 file
 lib/dml/moodle_recordset.php

Defines 1 class

sqlsrv_native_moodle_recordset:: (10 methods):
  __construct()
  transaction_starts()
  unregister()
  __destruct()
  fetch_next()
  current()
  key()
  next()
  valid()
  close()


Class: sqlsrv_native_moodle_recordset  - X-Ref

__construct($rsrc, sqlsrv_native_moodle_database $db)   X-Ref
No description

transaction_starts()   X-Ref
Inform existing open recordsets that transaction
is starting, this works around MARS problem described
in MDL-37734.


unregister()   X-Ref
Unregister recordset from the global list of open recordsets.


__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