1 | <?php |
||
7 | trait MysqlCommonTrait |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * Execute query and return query as an ArrayObject |
||
12 | * |
||
13 | * @throws \Soluble\DbWrapper\Exception\InvalidArgumentException |
||
14 | * @param string $query |
||
15 | * @return \Soluble\DbWrapper\Result\Resultset |
||
16 | */ |
||
17 | abstract public function query($query); |
||
18 | |||
19 | /** |
||
20 | * Return current schema/database name |
||
21 | * |
||
22 | * @throws \Soluble\DbWrapper\Exception\RuntimeException |
||
23 | * @return string|false |
||
24 | */ |
||
25 | 2 | public function getCurrentSchema() |
|
38 | } |
||
39 |