DDL exceptions: Difference between revisions
From MoodleDocs
This page will not be migrated to new devdocs |
|||
| Line 1: | Line 1: | ||
{{Template:WillNotMigrate}} | |||
{{Moodle_2.0}}In previous versions problems during upgrade were ignored by default. | {{Moodle_2.0}}In previous versions problems during upgrade were ignored by default. | ||
Latest revision as of 08:13, 10 February 2025
| Warning: This page is no longer in use. The information contained on the page should NOT be seen as relevant or reliable. |
Moodle 2.0
In previous versions problems during upgrade were ignored by default.
Overview
Defined in lib/ddllib.php for now.
ddl_exception
Base class for DDL related exceptions
ddl_table_missing_exception
Table specified in function parameter does not exist.
ddl_field_missing_exception
Field specified in function parameter does not exist.
ddl_change_structure_exception
General exception thrown during execution of sql that changes database structure.
See also
- Exceptions: General guidelines for using of exceptions in Moodle 2.0
- DML functions: Where all the functions used to handle DB data. (DML) are defined.
- DDL functions: Where all the functions used to handle DB objects (DDL) are defined.
