1 | <?php |
||
17 | class MySQLDatabase extends Database implements Driver |
||
18 | { |
||
19 | 1 | protected function bootstrap(DatabaseContainerFactory $factory) |
|
31 | |||
32 | /** |
||
33 | * @param PDO $pdo |
||
34 | * |
||
35 | * @return MySQLConnection |
||
36 | */ |
||
37 | 1 | public function createConnection(PDO $pdo) |
|
41 | |||
42 | /** |
||
43 | * @inheritdoc |
||
44 | */ |
||
45 | 1 | public function quoteName($name) |
|
49 | |||
50 | /** |
||
51 | * @inheritdoc |
||
52 | */ |
||
53 | 1 | public function quoteTableName($schema, $table) |
|
59 | |||
60 | /** |
||
61 | * @param Table $from |
||
62 | * |
||
63 | * @return MySQLSelectQuery |
||
64 | */ |
||
65 | 1 | public function select(Table $from) |
|
69 | |||
70 | /** |
||
71 | * @param Table $into |
||
72 | * |
||
73 | * @return InsertQuery |
||
74 | */ |
||
75 | 1 | public function insert(Table $into) |
|
79 | |||
80 | /** |
||
81 | * @param Table $table |
||
82 | * |
||
83 | * @return UpdateQuery |
||
84 | */ |
||
85 | 1 | public function update(Table $table) |
|
89 | |||
90 | /** |
||
91 | * @param Table $table |
||
92 | * |
||
93 | * @return DeleteQuery |
||
94 | */ |
||
95 | 1 | public function delete(Table $table) |
|
99 | } |
||
100 |