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: Difference between revisions

From MoodleDocs
No edit summary
Line 1: Line 1:
{{Moodle_2.0}}In previous versions problems in database calls were ignored by default.
{{Moodle_2.0}}In previous versions problems in database calls were ignored by default.


==Overview==
==Overview==
[[Image:Dml_exceptions.png]]
[[Image:Dml_exceptions.png]]


===connection_exception===
===dml_read_exception===
===dml_read_exception===


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


==See also==
==See also==

Revision as of 17:18, 27 November 2008

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

Overview

Dml exceptions.png

connection_exception

dml_read_exception

dml_read_exception

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.