19 declare(strict_types=1);
36 abstract public function in(
string $field, array $values,
bool $negate =
false,
string $type =
""): string;
41 abstract public function quote($value, ?
string $type =
null): string;
43 abstract public function concat(array $values,
bool $allow_null =
true): string;
45 abstract public function locate(
string $a_needle,
string $a_string,
int $a_start_pos = 1): string;
54 abstract public function createTable(
string $name, array $fields, array $options = []): string;
59 abstract public function like(
63 bool $case_insensitive =
true 66 abstract public function now(): string;
68 abstract public function lock(array $tables): string;
70 abstract public function unlock(): string;
72 abstract public function createDatabase(
string $name,
string $charset =
"utf8",
string $collation =
""): string;
74 abstract public function groupConcat(
string $a_field_name,
string $a_seperator =
",", ?
string $a_order =
null): string;
79 abstract public function cast(
string $a_field_name, $a_dest_type): string;
groupConcat(string $a_field_name, string $a_seperator=",", ?string $a_order=null)
createTable(string $name, array $fields, array $options=[])
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="")
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
quoteIdentifier(string $identifier)
free(ilPDOStatement $statement)
cast(string $a_field_name, $a_dest_type)
like(string $column, string $type, string $value="?", bool $case_insensitive=true)
Interface ilQueryUtilsInterface.
__construct(protected \ilDBInterface $db_instance)
ilMySQLQueryUtils constructor.
locate(string $a_needle, string $a_string, int $a_start_pos=1)
in(string $field, array $values, bool $negate=false, string $type="")