for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Staudenmeir\EloquentJsonRelations\Grammars;
use Illuminate\Database\Query\Grammars\SqlServerGrammar as Base;
use RuntimeException;
class SqlServerGrammar extends Base implements JsonGrammar
{
/**
* Compile a "JSON array" statement into SQL.
*
* @param string $column
* @return string
*/
public function compileJsonArray($column)
return $this->wrap($column);
}
* Compile a "JSON object" statement into SQL.
* @param int $levels
public function compileJsonObject($column, $levels)
throw new RuntimeException('This database is not supported.'); // @codeCoverageIgnore