3declare(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;
Class ilPDOStatement is a Wrapper Class for PDOStatement.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
free(ilPDOStatement $statement)
__construct(ilDBInterface $ilDBInterface)
ilMySQLQueryUtils constructor.
createDatabase(string $name, string $charset="utf8", string $collation="")
ilDBInterface $db_instance
like(string $column, string $type, string $value="?", bool $case_insensitive=true)
concat(array $values, bool $allow_null=true)
quoteIdentifier(string $identifier)
locate(string $a_needle, string $a_string, int $a_start_pos=1)
createTable(string $name, array $fields, array $options=[])
in(string $field, array $values, bool $negate=false, string $type="")
cast(string $a_field_name, $a_dest_type)
quote($value, ?string $type=null)
groupConcat(string $a_field_name, string $a_seperator=",", string $a_order=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...