Grammar
class Grammar extends Grammar (View source)
Methods
string
from Grammar
string
columnize(
array $columns)
Convert an array of column names into a delimited string.
from Grammar
string
parameter(
mixed $value)
Get the appropriate query parameter place-holder for a value.
from Grammar
string
string
string
string
compileInsertGetId(
Builder $query,
array $values,
string $sequence)
Compile an insert and get ID statement into SQL.
string
string
array
bool
supportsSavepoints()
Determine if the grammar supports savepoints.
string
compileSavepoint(
string $name)
Compile the SQL statement to define a savepoint.
string
compileSavepointRollBack(
string $name)
Compile the SQL statement to execute a savepoint rollback.
array
getOperators()
Get the gramar specific operators.
Details
string
wrap(
Expression|string $value,
bool $prefixAlias = false)
Wrap a value in keyword identifiers.
at line line 675
string
compileInsert(
Builder $query,
array $values)
Compile an insert statement into SQL.
at line line 710
string
compileInsertGetId(
Builder $query,
array $values,
string $sequence)
Compile an insert and get ID statement into SQL.
at line line 722
string
compileUpdate(
Builder $query,
array $values)
Compile an update statement into SQL.
at line line 775
array
compileTruncate(
Builder $query)
Compile a truncate table statement into SQL.
at line line 808
string
compileSavepoint(
string $name)
Compile the SQL statement to define a savepoint.
at line line 819
string
compileSavepointRollBack(
string $name)
Compile the SQL statement to execute a savepoint rollback.