42 public function connect($return_false_on_error =
false);
50 public function nextId($table_name);
60 public function createTable($table_name, $fields, $drop_table =
false, $ignore_erros =
false);
106 public function addTableColumn($table_name, $column_name, $attributes);
114 public function dropTable($table_name, $error_if_not_existing =
true);
160 public function renameTableColumn($table_name, $column_old_name, $column_new_name);
168 public function insert($table_name, $values);
185 public function update($table_name, $values, $where);
208 public function numRows($query_result);
217 public function quote($value, $type);
227 public function addIndex($table_name, $fields, $index_name =
'', $fulltext =
false);
282 public function in($field, $values, $negate =
false, $type =
"");
316 public function setLimit($limit, $offset);
328 public function like(
$column, $type, $value =
"?", $case_insensitive =
true);
334 public function now();
344 public function replace($table, $primaryKeys, $otherColumns);
354 public function equals(
$columns, $value, $type, $emptyOrNull =
false);
385 public function upper($a_exp);
392 public function lower($a_exp);
399 public function substr($a_exp);
407 public function prepareManip($a_query, $a_types = null);
493 public function concat(
array $values, $allow_null =
true);
502 public function locate($a_needle, $a_string, $a_start_pos = 1);
526 public function free($a_st);
577 public function dropIndex($a_table, $a_name =
"i1");
586 public function createDatabase($a_name, $a_charset =
"utf8", $a_collation =
"");
652 public function groupConcat($a_field_name, $a_seperator =
",", $a_order = NULL);
660 public function cast($a_field_name, $a_dest_type);
673 public function getServerVersion($native =
false);
699 public function escape($value, $escape_wildcards =
false);
706 public function escapePattern(
$text);
720 public function supportsEngineMigration();
734 public function supportsCollationMigration();
743 public function addUniqueConstraint($table, $fields, $name =
"con");
751 public function dropUniqueConstraint($table, $name =
"con");
759 public function dropUniqueConstraintByFields($table, $fields);
766 public function checkIndexName($name);
772 public function getLastInsertId();
781 public function prepare(
$query, $types = null, $result_types = null);
789 public function uniqueConstraintExists($table,
array $fields);
795 public function dropPrimaryKey($table_name);
802 public function executeMultiple($stmt,
$data);
810 public function fromUnixtime($expr, $to_text =
true);
816 public function unixTimestamp();
842 public function getDBVersion();
prepareManip($a_query, $a_types=null)
initFromIniFile($tmpClientIniFile=null)
modifyTableColumn($table, $column, $attributes)
static getReservedWords()
Get reserved words.
execute($stmt, $data=array())
locate($a_needle, $a_string, $a_start_pos=1)
const MYSQL_COLLATION_UTF8MB4
addPrimaryKey($table_name, $primary_keys)
setLimit($limit, $offset)
isFulltextIndex($a_table, $a_name)
Interface ilDBPdoInterface.
connect($return_false_on_error=false)
getPrimaryKeyIdentifier()
renameTable($old_name, $new_name)
replace($table, $primaryKeys, $otherColumns)
Replace into method.
constraintName($a_table, $a_constraint)
in($field, $values, $negate=false, $type="")
sequenceExists($sequence)
createSequence($table_name, $start=1)
update($table_name, $values, $where)
enableResultBuffering($a_status)
useSlave($bool)
Return false iff slave is not supported.
concat(array $values, $allow_null=true)
addIndex($table_name, $fields, $index_name='', $fulltext=false)
dropTable($table_name, $error_if_not_existing=true)
setStorageEngine($storage_engine)
getSequenceName($table_name)
cast($a_field_name, $a_dest_type)
const MYSQL_ENGINE_INNODB
equals($columns, $value, $type, $emptyOrNull=false)
lockTables($tables)
Abstraction of lock table.
queryF($query, $types, $values)
groupConcat($a_field_name, $a_seperator=",", $a_order=NULL)
dropTableColumn($table_name, $column_name)
createDatabase($a_name, $a_charset="utf8", $a_collation="")
Create styles array
The data for the language used.
fetchObject($query_result)
quoteIdentifier($identifier, $check_option=false)
dropIndex($a_table, $a_name="i1")
doesCollationSupportMB4Strings()
static isReservedWord($a_word)
indexExistsByFields($table_name, $fields)
unlockTables()
Unlock tables locked by previous lock table calls.
tableColumnExists($table_name, $column_name)
sanitizeMB4StringIfNotSupported($query)
insert($table_name, $values)
const MDB2_AUTOQUERY_INSERT
fetchAssoc($query_result)
addTableColumn($table_name, $column_name, $attributes)
dropSequence($table_name)
like($column, $type, $value="?", $case_insensitive=true)
Generate a like subquery.
addFulltextIndex($table_name, $afields, $a_name='in')
manipulateF($query, $types, $values)
createTable($table_name, $fields, $drop_table=false, $ignore_erros=false)
fetchAll($query_result, $fetch_mode=ilDBConstants::FETCHMODE_ASSOC)
renameTableColumn($table_name, $column_old_name, $column_new_name)
dropIndexByFields($table_name, $afields)
dropFulltextIndex($a_table, $a_name)