Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.
/lib/dml/
FolderUp one level  
Foldertests/
 
Fileauroramysql_native_moodle_database.php [source] [99 lines]    Native Aurora MySQL class representing moodle database interface.
Filedatabase_column_info.php               [source] [143 lines]   Database column information.
Filemariadb_native_moodle_database.php     [source] [116 lines]   Native MariaDB class representing moodle database interface.
Filemoodle_database.php                    [source] [2906 lines]  Abstract database driver class.
Filemoodle_read_slave_trait.php            [source] [406 lines]   Trait that adds read-only slave connection capability
Filemoodle_recordset.php                   [source] [77 lines]    Abstract recordset.
Filemoodle_temptables.php                  [source] [145 lines]   Generic temptables object store
Filemoodle_transaction.php                 [source] [107 lines]   Delegated database transaction support.
Filemysqli_native_moodle_database.php      [source] [2253 lines]  Native mysqli class representing moodle database interface.
Filemysqli_native_moodle_recordset.php     [source] [94 lines]    Mysqli specific recordset.
Filemysqli_native_moodle_temptables.php    [source] [33 lines]    MYSQL specific temptables store. Needed because temporary tables are named differently than normal tables. Also used to be able to retrieve temp table names included in the get_tables() method of the DB.
Fileoci_native_moodle_database.php         [source] [1907 lines]  Native oci class representing moodle database interface.
Fileoci_native_moodle_recordset.php        [source] [88 lines]    Oracle specific recordset.
Fileoci_native_moodle_temptables.php       [source] [70 lines]    OCI specific temptables store. Needed because temporary tables in Oracle are global (to all sessions), so we need to rename them on the fly in order to get local (different for each session) table names. Also used to be able to retrieve temp table names included in the get_tables() method of the DB.
Filepdo_moodle_database.php                [source] [626 lines]   Experimental pdo database class
Filepdo_moodle_recordset.php               [source] [87 lines]    Experimental pdo recordset
Filepgsql_native_moodle_database.php       [source] [1709 lines]  Native pgsql class representing moodle database interface.
Filepgsql_native_moodle_recordset.php      [source] [173 lines]   Native postgresql recordset.
Filepgsql_native_moodle_temptables.php     [source] [44 lines]    PGSQL specific temptables store. Needed because temporary tables are named differently than normal tables. Also used to be able to retrieve temp table names included in the get_tables() method of the DB.
Filesqlite3_pdo_moodle_database.php        [source] [382 lines]   Experimental pdo database class.
Filesqlsrv_native_moodle_database.php      [source] [1667 lines]  Native sqlsrv class representing moodle database interface.
Filesqlsrv_native_moodle_recordset.php     [source] [143 lines]   sqlsrv specific recordset.
Filesqlsrv_native_moodle_temptables.php    [source] [59 lines]    sqlsrv specific temptables store. Needed because temporary tables are named differently than normal tables. Also used to be able to retrieve temp table names included in the get_tables() method of the DB.