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