2 require_once
'Services/Database/interfaces/interface.ilQueryUtils.php';
22 $this->db_instance = $ilDBInterface;
33 abstract public function in($field, $values, $negate =
false, $type =
"");
41 abstract public function quote($value, $type = null);
49 abstract public function concat(
array $values, $allow_null =
true);
58 abstract public function locate($a_needle, $a_string, $a_start_pos = 1);
93 abstract public function like(
$column, $type, $value =
"?", $case_insensitive =
true);
99 abstract public function now();
106 abstract public function lock(
array $tables);
112 abstract public function unlock();
121 abstract public function createDatabase($a_name, $a_charset =
"utf8", $a_collation =
"");
127 abstract public function groupConcat($a_field_name, $a_seperator =
",", $a_order = NULL);
133 abstract public function cast($a_field_name, $a_dest_type);
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)
if(!is_array($argv)) $options
free(ilPDOStatement $statement)
concat(array $values, $allow_null=true)
groupConcat($a_field_name, $a_seperator=",", $a_order=NULL)
string
Create styles array
The data for the language used.
like($column, $type, $value="?", $case_insensitive=true)
createDatabase($a_name, $a_charset="utf8", $a_collation="")
quoteIdentifier($identifier)
Interface ilQueryUtilsInterface.