Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
moodle_database Member List

This is the complete list of members for moodle_database, including all inherited members.

$database_managermoodle_databaseprotected
$dbhostmoodle_databaseprotected
$dbnamemoodle_databaseprotected
$dboptionsmoodle_databaseprotected
$dbpassmoodle_databaseprotected
$dbusermoodle_databaseprotected
$debugmoodle_databaseprotected
$disposedmoodle_databaseprotected
$externalmoodle_databaseprotected
$inorequaluniqueindexmoodle_databaseprotected
$last_extrainfomoodle_databaseprotected
$last_paramsmoodle_databaseprotected
$last_sqlmoodle_databaseprotected
$last_timemoodle_databaseprotected
$last_typemoodle_databaseprotected
$loggingquerymoodle_databaseprotected
$metacachemoodle_databaseprotected
$metacachetempmoodle_databaseprotected
$prefixmoodle_databaseprotected
$queriestimemoodle_databaseprotected
$readsmoodle_databaseprotected
$skiploggingmoodle_databaseprotected
$tablesmoodle_databaseprotected
$temptablesmoodle_databaseprotected
$transactionsmoodle_databaseprotected
$used_for_db_sessionsmoodle_databaseprotected
$writesmoodle_databaseprotected
__construct($external=false)moodle_database
__destruct()moodle_database
add_sql_debugging(string $sql)moodle_databaseprotected
allowed_param_types()moodle_databaseprotected
begin_transaction()moodle_databaseprotected
change_database_structure($sql, $tablenames=null)moodle_database
change_db_encoding()moodle_database
commit_delegated_transaction(moodle_transaction $transaction)moodle_database
commit_transaction()moodle_databaseprotected
connect($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null)moodle_database
count_records($table, array $conditions=null)moodle_database
count_records_select($table, $select, array $params=null, $countitem="COUNT('x')")moodle_database
count_records_sql($sql, array $params=null)moodle_database
create_database($dbhost, $dbuser, $dbpass, $dbname, array $dboptions=null)moodle_database
delete_records($table, array $conditions=null)moodle_database
delete_records_list($table, $field, array $values)moodle_database
delete_records_select($table, $select, array $params=null)moodle_database
delete_records_subquery(string $table, string $field, string $alias, string $subquery, array $params=[])moodle_database
detect_objects($value)moodle_databaseprotected
diagnose()moodle_database
dispose()moodle_database
driver_installed()moodle_database
execute($sql, array $params=null)moodle_database
export_dbconfig()moodle_database
export_table_recordset($table)moodle_database
fetch_columns(string $table)moodle_databaseprotected
fix_sql_params($sql, array $params=null)moodle_database
fix_table_name($tablename)moodle_databaseprotected
fix_table_names($sql)moodle_databaseprotected
force_transaction_rollback()moodle_database
get_columns($table, $usecache=true)moodle_database
get_configuration_help()moodle_database
get_configuration_hints()moodle_database
get_dbfamily()moodle_database
get_dblibrary()moodle_databaseprotected
get_dbtype()moodle_databaseprotected
get_dbvendor()moodle_database
get_debug()moodle_database
get_driver_instance($type, $library, $external=false)moodle_databasestatic
get_field($table, $return, array $conditions, $strictness=IGNORE_MISSING)moodle_database
get_field_select($table, $return, $select, array $params=null, $strictness=IGNORE_MISSING)moodle_database
get_field_sql($sql, array $params=null, $strictness=IGNORE_MISSING)moodle_database
get_fieldset(string $table, string $return, ?array $conditions=null)moodle_database
get_fieldset_select($table, $return, $select, array $params=null)moodle_database
get_fieldset_sql($sql, array $params=null)moodle_database
get_in_or_equal($items, $type=SQL_PARAMS_QM, $prefix='param', $equal=true, $onemptyitems=false)moodle_database
get_indexes($table)moodle_database
get_last_error()moodle_database
get_manager()moodle_database
get_metacache()moodle_databaseprotected
get_name()moodle_database
get_prefix()moodle_database
get_record($table, array $conditions, $fields=' *', $strictness=IGNORE_MISSING)moodle_database
get_record_select($table, $select, array $params=null, $fields=' *', $strictness=IGNORE_MISSING)moodle_database
get_record_sql($sql, array $params=null, $strictness=IGNORE_MISSING)moodle_database
get_records($table, array $conditions=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_records_list($table, $field, array $values, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_records_menu($table, array $conditions=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_records_select($table, $select, array $params=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_records_select_menu($table, $select, array $params=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_records_sql($sql, array $params=null, $limitfrom=0, $limitnum=0)moodle_database
get_records_sql_menu($sql, array $params=null, $limitfrom=0, $limitnum=0)moodle_database
get_recordset($table, array $conditions=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_recordset_list($table, $field, array $values, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_recordset_select($table, $select, array $params=null, $sort='', $fields=' *', $limitfrom=0, $limitnum=0)moodle_database
get_recordset_sql($sql, array $params=null, $limitfrom=0, $limitnum=0)moodle_database
get_server_info()moodle_database
get_session_lock($rowid, $timeout)moodle_database
get_settings_hash()moodle_databaseprotected
get_tables($usecache=true)moodle_database
get_temp_tables_cache()moodle_databaseprotected
get_transaction_start_backtrace()moodle_database
import_record($table, $dataobject)moodle_database
insert_record($table, $dataobject, $returnid=true, $bulk=false)moodle_database
insert_record_raw($table, $params, $returnid=true, $bulk=false, $customsequence=false)moodle_database
insert_records($table, $dataobjects)moodle_database
is_fulltext_search_supported()moodle_database
is_transaction_started()moodle_database
normalise_limit_from_num($limitfrom, $limitnum)moodle_databaseprotected
normalise_value($column, $value)moodle_databaseprotected
perf_get_queries()moodle_database
perf_get_queries_time()moodle_database
perf_get_reads()moodle_database
perf_get_reads_slave()moodle_database
perf_get_writes()moodle_database
print_debug($sql, array $params=null, $obj=null)moodle_databaseprotected
print_debug_time()moodle_databaseprotected
query_end($result)moodle_databaseprotected
query_log($error=false)moodle_database
query_log_allow()moodle_databaseprotected
query_log_prevent()moodle_databaseprotected
query_start($sql, ?array $params, $type, $extrainfo=null)moodle_databaseprotected
query_time()moodle_databaseprotected
record_exists($table, array $conditions)moodle_database
record_exists_select($table, $select, array $params=null)moodle_database
record_exists_sql($sql, array $params=null)moodle_database
release_session_lock($rowid)moodle_database
replace_all_text($table, database_column_info $column, $search, $replace)moodle_database
replace_all_text_supported()moodle_database
reset_caches($tablenames=null)moodle_database
rollback_delegated_transaction(moodle_transaction $transaction, $e)moodle_database
rollback_transaction()moodle_databaseprotected
session_lock_supported()moodle_database
set_debug($state)moodle_database
set_field($table, $newfield, $newvalue, array $conditions=null)moodle_database
set_field_select($table, $newfield, $newvalue, $select, array $params=null)moodle_database
set_logging($state)moodle_database
setup_is_unicodedb()moodle_database
sql_bitand($int1, $int2)moodle_database
sql_bitnot($int1)moodle_database
sql_bitor($int1, $int2)moodle_database
sql_bitxor($int1, $int2)moodle_database
sql_cast_2signed($fieldname)moodle_database
sql_cast_char2int($fieldname, $text=false)moodle_database
sql_cast_char2real($fieldname, $text=false)moodle_database
sql_cast_to_char(string $field)moodle_database
sql_ceil($fieldname)moodle_database
sql_compare_text($fieldname, $numchars=32)moodle_database
sql_concat(... $arr)moodle_database
sql_concat_join($separator="' '", $elements=array())moodle_database
sql_empty()moodle_database
sql_equal($fieldname, $param, $casesensitive=true, $accentsensitive=true, $notequal=false)moodle_database
sql_fullname($first='firstname', $last='lastname')moodle_database
sql_group_concat(string $field, string $separator=', ', string $sort='')moodle_database
sql_intersect($selects, $fields)moodle_database
sql_isempty($tablename, $fieldname, $nullablefield, $textfield)moodle_database
sql_isnotempty($tablename, $fieldname, $nullablefield, $textfield)moodle_database
sql_length($fieldname)moodle_database
sql_like($fieldname, $param, $casesensitive=true, $accentsensitive=true, $notlike=false, $escapechar='\\')moodle_database
sql_like_escape($text, $escapechar='\\')moodle_database
sql_modulo($int1, $int2)moodle_database
sql_null_from_clause()moodle_database
sql_order_by_null(string $fieldname, int $sort=SORT_ASC)moodle_database
sql_order_by_text($fieldname, $numchars=32)moodle_database
sql_position($needle, $haystack)moodle_database
sql_regex($positivematch=true, $casesensitive=false)moodle_database
sql_regex_get_word_beginning_boundary_marker()moodle_database
sql_regex_get_word_end_boundary_marker()moodle_database
sql_regex_supported()moodle_database
sql_substr($expr, $start, $length=false)moodle_database
start_delegated_transaction()moodle_database
store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dboptions=null)moodle_databaseprotected
transactions_forbidden()moodle_database
transactions_supported()moodle_databaseprotected
update_record($table, $dataobject, $bulk=false)moodle_database
update_record_raw($table, $params, $bulk=false)moodle_database
update_temp_table_stats()moodle_database
want_read_slave()moodle_database
where_clause($table, array $conditions=null)moodle_databaseprotected
where_clause_list($field, array $values)moodle_databaseprotected