This article contains information valid for versions before Moodle 2.0, so should be considered deprecated. If you want to see up to date information, please go to DML functions instead.
In this page you'll access to the available functions under Moodle to be able to access to DB data. You should use exclusively these functions in order to retrieve or modify DB contents because these 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!
Las funciones DML están en ./lib/dmllib.php