| Total Complexity | 3 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class MySqlGrammar extends Base implements JsonGrammar |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Compile a "JSON array" statement into SQL. |
||
| 11 | * |
||
| 12 | * @param string $column |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | 25 | public function compileJsonArray($column) |
|
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Compile a "JSON object" statement into SQL. |
||
| 22 | * |
||
| 23 | * @param string $column |
||
| 24 | * @param int $levels |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | 22 | public function compileJsonObject($column, $levels) |
|
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Compile a "JSON value select" statement into SQL. |
||
| 36 | * |
||
| 37 | * @param string $column |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | 11 | public function compileJsonValueSelect(string $column): string |
|
| 45 |