PostgresGrammar

 class Winter\Storm\Database\Query\Grammars\PostgresGrammar
extends Illuminate\Database\Query\Grammars\PostgresGrammar

Traits

Trait Description
SelectConcatenations

Methods

protected compileColumns (Illuminate\Database\Query\Builder $query, array $columns) : string | null

Inherited from SelectConcatenations

Compile the "select *" portion of the query.

This particular method will call the original compileColumns() method provided by the grammar, then append the concatenated columns to the query.

Parameters
Property Description
$query
Illuminate\Database\Query\Builder
$columns
array
Returns
string | null

protected compileConcat (array $parts, string $as) : string

Inherited from SelectConcatenations

Compiles a single CONCAT value.

Parameters
Property Description
$parts
array

The concatenation parts.

$as
string

The alias to return the entire concatenation as.

Returns
string

protected compileConcats (Illuminate\Database\Query\Builder $query) : string

Inherited from SelectConcatenations

Compiles the concatenated columns and adds them to the "select" portion of the query.

Parameters
Property Description
$query
Illuminate\Database\Query\Builder
Returns
string
Copyright © 2023 Winter CMS