3 declare(strict_types=1);
33 $this->db_instance = $ilDBInterface;
39 abstract public function in(
string $field, array $values,
bool $negate =
false,
string $type =
""): string;
44 abstract public function quote($value, ?
string $type = null): string;
46 abstract public function concat(array $values,
bool $allow_null =
true): string;
48 abstract public function locate(
string $a_needle,
string $a_string,
int $a_start_pos = 1): string;
57 abstract public function createTable(
string $name, array $fields, array $options = []): string;
62 abstract public function like(
66 bool $case_insensitive =
true 69 abstract public function now(): string;
71 abstract public function lock(array $tables): string;
73 abstract public function unlock(): string;
75 abstract public function createDatabase(
string $name,
string $charset =
"utf8",
string $collation =
""): string;
77 abstract public function groupConcat(
string $a_field_name,
string $a_seperator =
",",
string $a_order = null): string;
82 abstract public function cast(
string $a_field_name, $a_dest_type): string;
createTable(string $name, array $fields, array $options=[])
__construct(ilDBInterface $ilDBInterface)
ilMySQLQueryUtils constructor.
Class ilPDOStatement is a Wrapper Class for PDOStatement.
quote($value, ?string $type=null)
concat(array $values, bool $allow_null=true)
createDatabase(string $name, string $charset="utf8", string $collation="")
quoteIdentifier(string $identifier)
free(ilPDOStatement $statement)
groupConcat(string $a_field_name, string $a_seperator=",", string $a_order=null)
ilDBInterface $db_instance
cast(string $a_field_name, $a_dest_type)
like(string $column, string $type, string $value="?", bool $case_insensitive=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
locate(string $a_needle, string $a_string, int $a_start_pos=1)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
in(string $field, array $values, bool $negate=false, string $type="")