Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

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: 143 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