Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.
/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] [2873 lines]  Abstract database driver class.
Filemoodle_read_slave_trait.php            [source] [399 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] [2142 lines]  Native mysqli class representing moodle database interface.
Filemysqli_native_moodle_recordset.php     [source] [93 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] [1885 lines]  Native oci class representing moodle database interface.
Fileoci_native_moodle_recordset.php        [source] [87 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] [86 lines]    Experimental pdo recordset
Filepgsql_native_moodle_database.php       [source] [1675 lines]  Native pgsql class representing moodle database interface.
Filepgsql_native_moodle_recordset.php      [source] [171 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] [1654 lines]  Native sqlsrv class representing moodle database interface.
Filesqlsrv_native_moodle_recordset.php     [source] [142 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.