ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
interface.ilDBManager.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
25interface ilDBManager
26{
30 public function listTables(?string $database = null): array;
31
35 public function listSequences(?string $database = null): array;
36
37 public function createConstraint(string $table, string $name, array $definition): bool;
38
42 public function listTableFields(string $table): array;
43
47 public function listTableConstraints(string $table): array;
48
49 public function createSequence(string $seq_name, int $start = 1, array $options = []): bool;
50
54 public function listTableIndexes(string $table): array;
55
56 public function alterTable(string $name, array $changes, bool $check): bool;
57
58 public function createIndex(string $table, string $name, array $definition): bool;
59
60 public function dropIndex(string $table, string $name): bool;
61
62 public function dropSequence(string $seq_name): bool;
63
64 public function dropConstraint(string $table, string $name, bool $primary = false): bool;
65
69 public function dropTable(string $name): bool;
70}
$check
Definition: buildRTE.php:81
Interface ilDBManager.
listTableIndexes(string $table)
dropIndex(string $table, string $name)
createSequence(string $seq_name, int $start=1, array $options=[])
dropTable(string $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)
listTableConstraints(string $table)