Class Fluent
\Dibi\Fluent with filter support
- Dibi\Fluent
- LeanMapper\Fluent
public
|
#
applyFilter( Closure|string $filter, mixed|null $args = null )
Applies given filter to current statement |
public
|
|
public
array
|
|
public
array|null
|
|
public
|
public static
array
|
$masks
|
#
[ // fixes missing UNION in dibi
'SELECT' => [
'SELECT', 'DISTINCT', 'FROM', 'WHERE', 'GROUP BY',
'HAVING', 'ORDER BY', 'LIMIT', 'OFFSET', 'UNION',
],
'UPDATE' => ['UPDATE', 'SET', 'WHERE', 'ORDER BY', 'LIMIT'],
'INSERT' => ['INSERT', 'INTO', 'VALUES', 'SELECT'],
'DELETE' => ['DELETE', 'FROM', 'USING', 'WHERE', 'ORDER BY', 'LIMIT'],
]
|