for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace lroman242\LaravelCassandra\Query;
use Illuminate\Database\Query\Grammars\Grammar as BaseGrammar;
class Grammar extends BaseGrammar
{
/**
* The components that make up a select clause.
*
* @var array
*/
protected $selectComponents = [
'aggregate',
'columns',
'from',
'wheres',
'orders',
'limit',
'groups',
'allowFiltering'
];
public function compileAllowFiltering(Builder $query, $bool)
$query
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
return (bool) $bool ? 'ALLOW FILTERING' : '';
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.