39 public function escape($value, $escape_wildcards =
false);
An exception for terminatinating execution or to throw for unit testing.
const MYSQL_ENGINE_INNODB
const MYSQL_COLLATION_UTF8MB4
Interface ilDBPdoInterface.
executeMultiple($stmt, $data)
escape($value, $escape_wildcards=false)
queryCol($query, $type=ilDBConstants::FETCHMODE_DEFAULT, $colnum=0)
uniqueConstraintExists($table, array $fields)
autoExecute($tablename, $fields, $mode=ilDBConstants::AUTOQUERY_INSERT, $where=false)
Generate an insert, update or delete query and call prepare() and execute() on it.
migrateAllTablesToCollation($collation=ilDBConstants::MYSQL_COLLATION_UTF8MB4)
getDBVersion()
returns the Version of the Database (e.g.
fromUnixtime($expr, $to_text=true)
dropPrimaryKey($table_name)
supportsEngineMigration()
addUniqueConstraint($table, $fields, $name="con")
supportsCollationMigration()
dropUniqueConstraintByFields($table, $fields)
prepare($query, $types=null, $result_types=null)
dropUniqueConstraint($table, $name="con")
migrateAllTablesToEngine($engine=ilDBConstants::MYSQL_ENGINE_INNODB)
getServerVersion($native=false)
queryRow($query, $types=null, $fetchmode=ilDBConstants::FETCHMODE_DEFAULT)