Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: DML exceptions.

Development:DML exceptions

From MoodleDocs

Template:Moodle 2.0In previous versions problems in database calls were ignored by default.


Overview

Dml exceptions.png


TODO: add more info here, explanation and same examples.

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.