| 1 | <?php |
||
| 14 | class MySQLDatabase extends Database |
||
| 15 | { |
||
| 16 | 1 | public function __construct() |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param Table $from |
||
| 27 | * |
||
| 28 | * @return SelectQuery |
||
| 29 | */ |
||
| 30 | 1 | public function select(Table $from) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * @param Table $into |
||
| 37 | * |
||
| 38 | * @return InsertQuery |
||
| 39 | */ |
||
| 40 | 1 | public function insert(Table $into) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @param Table $table |
||
| 47 | * |
||
| 48 | * @return UpdateQuery |
||
| 49 | */ |
||
| 50 | 1 | public function update(Table $table) |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @param Table $table |
||
| 57 | * |
||
| 58 | * @return DeleteQuery |
||
| 59 | */ |
||
| 60 | 1 | public function delete(Table $table) |
|
| 64 | |||
| 65 | /** |
||
| 66 | * @return Driver |
||
| 67 | */ |
||
| 68 | 1 | protected function createDriver() |
|
| 72 | } |
||
| 73 |