Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Classes | Variables
moodle_database.php File Reference

Abstract database driver class. More...

Classes

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

Variables

const SQL_PARAMS_DOLLAR 4
 SQL_PARAMS_DOLLAR - Bitmask, indicates $1, $2, ... More...
 
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_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.
 

Detailed Description

Abstract database driver class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later