Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
moodle_database.php File Reference

Classes

class  moodle_database
 Abstract class representing moodle database interface. More...
 

Variables

const SQL_PARAMS_DOLLAR 4
 SQL_PARAMS_DOLLAR - Bitmask, indicates $1, $2, ... type parameters are supported by db backend.
 
const SQL_PARAMS_NAMED 1
 SQL_PARAMS_NAMED - Bitmask, indicates :name type parameters are supported by db backend.
 
const SQL_PARAMS_QM 2
 SQL_PARAMS_QM - Bitmask, indicates ? type parameters are supported by db backend.
 
const SQL_QUERY_AUX 5
 SQL_QUERY_AUX - Auxiliary query done by driver, setting connection config, getting table info, etc.
 
const SQL_QUERY_AUX_READONLY 6
 SQL_QUERY_AUX_READONLY - Auxiliary query that can be done using the readonly connection: database parameters, table/index/column lists, if not within transaction/ddl.
 
const SQL_QUERY_INSERT 2
 SQL_QUERY_INSERT - Insert select query, writing.
 
const SQL_QUERY_SELECT 1
 SQL_QUERY_SELECT - Normal select query, reading only.
 
const SQL_QUERY_STRUCTURE 4
 SQL_QUERY_STRUCTURE - Query changing db structure, writing.
 
const SQL_QUERY_UPDATE 3
 SQL_QUERY_UPDATE - Update select query, writing.