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/ddl/
FolderUp one level  
Foldertests/
 
Filedatabase_manager.php       [source] [1226 lines]  Database manager instance is responsible for all database structure modifications.
Filemssql_sql_generator.php    [source] [700 lines]   MSSQL specific SQL code generator.
Filemysql_sql_generator.php    [source] [643 lines]   Mysql specific SQL code generator.
Fileoracle_sql_generator.php   [source] [756 lines]   Oracle specific SQL code generator.
Filepostgres_sql_generator.php [source] [520 lines]   PostgreSQL specific SQL code generator.
Filesql_generator.php          [source] [1462 lines]  This class represent the base generator class where all the needed functions to generate proper SQL are defined. The rest of classes will inherit, by default, the same logic. Functions will be overridden as needed to generate correct SQL.
Filesqlite_sql_generator.php   [source] [463 lines]   Experimental SQLite specific SQL code generator.