1 | <?php |
||
14 | class PostgresDatabase extends Database implements Driver |
||
15 | { |
||
16 | 1 | protected function bootstrap(DatabaseContainerFactory $factory) |
|
28 | |||
29 | /** |
||
30 | * @param PDO $pdo |
||
31 | * |
||
32 | * @return PostgresConnection |
||
33 | */ |
||
34 | 1 | public function createConnection(PDO $pdo) |
|
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | 1 | public function quoteName($name) |
|
46 | |||
47 | /** |
||
48 | * @inheritdoc |
||
49 | */ |
||
50 | 1 | public function quoteTableName($schema, $table) |
|
56 | |||
57 | /** |
||
58 | * @param Table $from |
||
59 | * |
||
60 | * @return PostgresSelectQuery |
||
61 | */ |
||
62 | public function select(Table $from) |
||
66 | |||
67 | /** |
||
68 | * @param Table $into |
||
69 | * |
||
70 | * @return PostgresInsertQuery |
||
71 | */ |
||
72 | 1 | public function insert(Table $into) |
|
76 | |||
77 | /** |
||
78 | * @param Table $table |
||
79 | * |
||
80 | * @return PostgresUpdateQuery |
||
81 | */ |
||
82 | 1 | public function update(Table $table) |
|
86 | |||
87 | /** |
||
88 | * @param Table $table |
||
89 | * |
||
90 | * @return PostgresDeleteQuery |
||
91 | */ |
||
92 | 1 | public function delete(Table $table) |
|
96 | } |
||
97 |