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.
/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] [130 lines]   Native MariaDB class representing moodle database interface.
Filemoodle_database.php                    [source] [2905 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] [2159 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] [1906 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] [1708 lines]  Native pgsql class representing moodle database interface.
Filepgsql_native_moodle_recordset.php      [source] [172 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] [1666 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.