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.
/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] [2839 lines]  Abstract database driver class.
Filemoodle_read_slave_trait.php            [source] [397 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] [2097 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] [1857 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] [614 lines]   Experimental pdo database class
Filepdo_moodle_recordset.php               [source] [86 lines]    Experimental pdo recordset
Filepgsql_native_moodle_database.php       [source] [1565 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] [1634 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.