1 | <?php |
||
13 | class PostgresDatabase extends Database implements Driver |
||
14 | { |
||
15 | 1 | protected function bootstrap(DatabaseContainer $container) |
|
27 | |||
28 | /** |
||
29 | * @param PDO $pdo |
||
30 | * |
||
31 | * @return PostgresConnection |
||
32 | */ |
||
33 | 1 | public function createConnection(PDO $pdo) |
|
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | 1 | public function quoteName($name) |
|
45 | |||
46 | /** |
||
47 | * @param Table $from |
||
48 | * |
||
49 | * @return PostgresSelectQuery |
||
50 | */ |
||
51 | public function select(Table $from) |
||
55 | |||
56 | /** |
||
57 | * @param Table $into |
||
58 | * |
||
59 | * @return PostgresInsertQuery |
||
60 | */ |
||
61 | 1 | public function insert(Table $into) |
|
65 | |||
66 | /** |
||
67 | * @param Table $table |
||
68 | * |
||
69 | * @return PostgresUpdateQuery |
||
70 | */ |
||
71 | public function update(Table $table) |
||
75 | |||
76 | /** |
||
77 | * @param Table $table |
||
78 | * |
||
79 | * @return PostgresDeleteQuery |
||
80 | */ |
||
81 | public function delete(Table $table) |
||
85 | } |
||
86 |