This is a test site. Any changes will be lost!

Development:XML database schema

From MoodleDocs

Note: This article is a work in progress. Please use the page comments for any recommendations/suggestions for improvement.


The goal of these pages is to document, explain and follow the evolution of the integration between Moodle and other RDBS, using the ADOdb XML Schema (AXMLS), built over the ADOdb Data Dictionary, that comes with the ADOdb library, used by Moodle to perform all DB operations since the beginning.

This page is 100% work in progress..

Preliminary tests

The roadmap

Todo list

  1. We need to change all the uses of the LIMIT offset, num clause to use the cross-db compatible SelectLimit() function. Two alternatives seem possible:
    1. Create a new set of get_records_limit() (and get_recordset_limit() ?) functions, allowing to specify the offset, num parameters.
    2. Modify the current get_records() (and get_recordset()) functions to allow two more optional parameters (offset, num)

See also

  • XMLDB preliminary links - A collection of links about general info, searched and analysed at the initial stages of the project.