19declare(strict_types=1);
32 public function listTables(?
string $database =
null): array;
39 public function createConstraint(
string $table,
string $name, array $definition): bool;
60 public function createIndex(
string $table,
string $name, array $definition): bool;
62 public function dropIndex(
string $table,
string $name): bool;
66 public function dropConstraint(
string $table,
string $name,
bool $primary =
false): bool;
82 string $foreign_key_name,
85 array $reference_field_names,
86 string $reference_table,
93 public function dropForeignKey(
string $foreign_key_name,
string $table_name): bool;
listTableIndexes(string $table)
dropIndex(string $table, string $name)
createSequence(string $seq_name, int $start=1, array $options=[])
addForeignKey(string $foreign_key_name, array $field_names, string $table_name, array $reference_field_names, string $reference_table, ?ForeignKeyConstraints $on_update=null, ?ForeignKeyConstraints $on_delete=null)
foreignKeyExists(string $foreign_key_name, string $table_name)
dropForeignKey(string $foreign_key_name, string $table_name)
listSequences(?string $database=null)
alterTable(string $name, array $changes, bool $check)
createConstraint(string $table, string $name, array $definition)
listTableFields(string $table)
createIndex(string $table, string $name, array $definition)
listTables(?string $database=null)
dropSequence(string $seq_name)
dropConstraint(string $table, string $name, bool $primary=false)
createTable(string $name, array $fields, array $options=[])
listTableConstraints(string $table)
Interface ilQueryUtilsInterface.