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) : stringBuilds the insert string.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $type | string | |
| $value | string |
| Type | Description |
|---|---|
| string |

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

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

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

compileDelete(\ShSo\Lacassa\Query $query) : stringCompile 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) : stringParameters
Returns
| Name | Type | Description |
|---|---|---|
| $query | \ShSo\Lacassa\Query\Builder | |
| $columns | string |
| Type | Description |
|---|---|
| string |

compileInsert(\ShSo\Lacassa\Query $query, array $values) : stringCompile 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) : stringCompile 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) : stringCompiles the udpate collection methods.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $query | \Illuminate\Database\Query\Builder |
| Type | Description |
|---|---|
| string |