1 | <?php |
||
16 | class MySQLDatabase extends Database implements Driver |
||
17 | { |
||
18 | 1 | protected function bootstrap(DatabaseContainer $container) |
|
30 | |||
31 | /** |
||
32 | * @param PDO $pdo |
||
33 | * |
||
34 | * @return MySQLConnection |
||
35 | */ |
||
36 | 1 | public function createConnection(PDO $pdo) |
|
40 | |||
41 | /** |
||
42 | * @inheritdoc |
||
43 | */ |
||
44 | 1 | public function quoteName($name) |
|
48 | |||
49 | /** |
||
50 | * @param Table $from |
||
51 | * |
||
52 | * @return MySQLSelectQuery |
||
53 | */ |
||
54 | 1 | public function select(Table $from) |
|
58 | |||
59 | /** |
||
60 | * @param Table $into |
||
61 | * |
||
62 | * @return InsertQuery |
||
63 | */ |
||
64 | 1 | public function insert(Table $into) |
|
68 | |||
69 | /** |
||
70 | * @param Table $table |
||
71 | * |
||
72 | * @return UpdateQuery |
||
73 | */ |
||
74 | 1 | public function update(Table $table) |
|
78 | |||
79 | /** |
||
80 | * @param Table $table |
||
81 | * |
||
82 | * @return DeleteQuery |
||
83 | */ |
||
84 | 1 | public function delete(Table $table) |
|
88 | } |
||
89 |