File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66use Illuminate \Database \Query \Grammars \SQLiteGrammar as Base ;
77use RuntimeException ;
88
9- class SqliteGrammar extends Base implements JsonGrammar
9+ class SQLiteGrammar extends Base implements JsonGrammar
1010{
1111 /**
1212 * Compile a "JSON array" statement into SQL.
Original file line number Diff line number Diff line change 1111use Staudenmeir \EloquentJsonRelations \Grammars \JsonGrammar ;
1212use Staudenmeir \EloquentJsonRelations \Grammars \MySqlGrammar ;
1313use Staudenmeir \EloquentJsonRelations \Grammars \PostgresGrammar ;
14- use Staudenmeir \EloquentJsonRelations \Grammars \SqliteGrammar ;
14+ use Staudenmeir \EloquentJsonRelations \Grammars \SQLiteGrammar ;
1515use Staudenmeir \EloquentJsonRelations \Grammars \SqlServerGrammar ;
1616
1717trait IsJsonRelation
@@ -166,7 +166,7 @@ protected function getJsonGrammar(Builder $query): JsonGrammar
166166 match ($ driver ) {
167167 'mysql ' => new MySqlGrammar (),
168168 'pgsql ' => new PostgresGrammar (),
169- 'sqlite ' => new SqliteGrammar (),
169+ 'sqlite ' => new SQLiteGrammar (),
170170 'sqlsrv ' => new SqlServerGrammar (),
171171 default => throw new RuntimeException ('This database is not supported. ' ) // @codeCoverageIgnore
172172 }
You can’t perform that action at this time.
0 commit comments