Query/Grammar.php
- Package
- Default
\ShSo\Lacassa\Query\Grammar
Package: Default








- Parent(s)
- \Illuminate\Database\Query\Grammars\Grammar
Properties
Methods


buildCollectionString(string $type, string $value) : string
Builds the insert string.
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string | |
$value | string |
Type | Description |
---|---|
string |


buildInsertCollectionParam(\Illuminate\Support\Collection $collection) : \Illuminate\Support\Collection
Parameters
Returns
Name | Type | Description |
---|---|---|
$collection | \Illuminate\Support\Collection |
Type | Description |
---|---|
\Illuminate\Support\Collection |


compileAllowFiltering( $query, $allow_filtering) : void
Parameters
Name | Type | Description |
---|---|---|
$query | ||
$allow_filtering |


compileCollectionValues(string $type, string $value) : string
Compiles the values assigned to collections.
Parameters
Returns
Name | Type | Description |
---|---|---|
$type | string | |
$value | string |
Type | Description |
---|---|
string |


compileDelete(\ShSo\Lacassa\Query $query) : string
Compile a delete statement into CQL.
Parameters
Returns
Name | Type | Description |
---|---|---|
$query | \ShSo\Lacassa\Query |
Type | Description |
---|---|
string |


compileIndex(\ShSo\Lacassa\Query\Builder $query, string $columns) : string
Parameters
Returns
Name | Type | Description |
---|---|---|
$query | \ShSo\Lacassa\Query\Builder | |
$columns | string |
Type | Description |
---|---|
string |


compileInsert(\ShSo\Lacassa\Query $query, array $values) : string
Compile an insert statement into CQL.
Parameters
Returns
Name | Type | Description |
---|---|---|
$query | \ShSo\Lacassa\Query | |
$values | array |
Type | Description |
---|---|
string |


compileUpdate(\Illuminate\Database\Query\Builder $query, array $values) : string
Compile an update statement into SQL.
Parameters
Returns
Name | Type | Description |
---|---|---|
$query | \Illuminate\Database\Query\Builder | |
$values | array |
Type | Description |
---|---|
string |


compileUpdateCollections(\Illuminate\Database\Query\Builder $query) : string
Compiles the udpate collection methods.
Parameters
Returns
Name | Type | Description |
---|---|---|
$query | \Illuminate\Database\Query\Builder |
Type | Description |
---|---|
string |