2 require_once
'Services/Database/interfaces/interface.ilQueryUtils.php';
24 $this->db_instance = $ilDBInterface;
35 abstract public function in($field,
$values, $negate =
false,
$type =
"");
43 abstract public function quote($value,
$type = null);
51 abstract public function concat(array
$values, $allow_null =
true);
60 abstract public function locate($a_needle, $a_string, $a_start_pos = 1);
95 abstract public function like($column,
$type, $value =
"?", $case_insensitive =
true);
101 abstract public function now();
108 abstract public function lock(array $tables);
114 abstract public function unlock();
123 abstract public function createDatabase($a_name, $a_charset =
"utf8", $a_collation =
"");
129 abstract public function groupConcat($a_field_name, $a_seperator =
",", $a_order = null);
135 abstract public function cast($a_field_name, $a_dest_type);
groupConcat($a_field_name, $a_seperator=",", $a_order=null)
string
createTable($name, $fields, $options=array())
__construct(ilDBInterface $ilDBInterface)
ilMySQLQueryUtils constructor.
in($field, $values, $negate=false, $type="")
Class ilPDOStatement is a Wrapper Class for PDOStatement.
quote($value, $type=null)
cast($a_field_name, $a_dest_type)
string
locate($a_needle, $a_string, $a_start_pos=1)
free(ilPDOStatement $statement)
concat(array $values, $allow_null=true)
like($column, $type, $value="?", $case_insensitive=true)
createDatabase($a_name, $a_charset="utf8", $a_collation="")
quoteIdentifier($identifier)
Interface ilQueryUtilsInterface.