Moodle APIs
3.8
Moodle 3.8.6 (Build: 20201109)
|
This library includes all the required functions used to handle the DB structure (DDL) independently of the underlying RDBMS in use. More...
Classes | |
class | ddl_change_structure_exception |
Error during changing db structure. More... | |
class | ddl_dependency_exception |
Error changing db structure, caused by some dependency found like trying to modify one field having related indexes. More... | |
class | ddl_exception |
DDL exception class, use instead of print_error() and "return false;" in ddl code. More... | |
class | ddl_field_missing_exception |
Table does not exist problem exception. More... | |
class | ddl_table_missing_exception |
Table does not exist problem exception. More... | |
This library includes all the required functions used to handle the DB structure (DDL) independently of the underlying RDBMS in use.
This library includes all the required functions used to handle the DB structure (DDL) independently of the underlying RDBMS in use. All the functions rely on the XMLDBDriver classes to be able to generate the correct SQL syntax needed by each DB.
To define any structure to be created we'll use the schema defined by the XMLDB classes, for tables, fields, indexes, keys and other statements instead of direct handling of SQL sentences.
This library should be used, exclusively, by the installation and upgrade process of Moodle.
For further documentation, visit http://docs.moodle.org/en/DDL_functions
@subpackage ddl