Data manipulation API
From MoodleDocs
In this page you'll access to the available functions under Moodle to be able to access to DB data. You should use exclusively this functions in order to retrieve or modify DB contents because this functions provide an high level of abstraction and guarantee that your DB manipulation will work against different RDBMS.
Where possible, tricks and examples will be documented here in order to make developers's life a bit easier. Of course, feel free to clarify, complete and add more info to all this documentation. It will be welcome, absolutely!
Main info
The functions
See also
- DDL functions: Where all the functions used to handle DB objects (DDL) are defined.