Methods |
public
|
compileSelect(Builder $query): string
Compile a select query into SQL.
Compile a select query into SQL.
|
#
|
public
|
compileWheres(Builder $query): string
Compile the "where" portions of the query.
Compile the "where" portions of the query.
|
#
|
public
|
prepareBindingForJsonContains(mixed $binding): string
Prepare the binding for a "JSON contains" statement.
Prepare the binding for a "JSON contains" statement.
|
#
|
public
|
whereFullText(Builder $query, array $where): string
Compile a "where fulltext" clause.
Compile a "where fulltext" clause.
|
#
|
public
|
compileRandom(string $seed): string
Compile the random statement into SQL.
Compile the random statement into SQL.
|
#
|
public
|
compileExists(Builder $query): string
Compile an exists statement into SQL.
Compile an exists statement into SQL.
|
#
|
public
|
compileInsert(Builder $query, array $values): string
Compile an insert statement into SQL.
Compile an insert statement into SQL.
|
#
|
public
|
compileInsertOrIgnore(Builder $query, array $values): string
Compile an insert ignore statement into SQL.
Compile an insert ignore statement into SQL.
Throws
|
#
|
public
|
compileInsertGetId(Builder $query, array $values, string $sequence): string
Compile an insert and get ID statement into SQL.
Compile an insert and get ID statement into SQL.
|
#
|
public
|
compileInsertUsing(Builder $query, array $columns, string $sql): string
Compile an insert statement using a subquery into SQL.
Compile an insert statement using a subquery into SQL.
|
#
|
public
|
compileUpdate(Builder $query, array $values): string
Compile an update statement into SQL.
Compile an update statement into SQL.
|
#
|
public
|
compileUpsert(Builder $query, array $values, array $uniqueBy, array $update): string
Compile an "upsert" statement into SQL.
Compile an "upsert" statement into SQL.
Throws
|
#
|
public
|
prepareBindingsForUpdate(array $bindings, array $values): array
Prepare the bindings for an update statement.
Prepare the bindings for an update statement.
|
#
|
public
|
compileDelete(Builder $query): string
Compile a delete statement into SQL.
Compile a delete statement into SQL.
|
#
|
public
|
prepareBindingsForDelete(array $bindings): array
Prepare the bindings for a delete statement.
Prepare the bindings for a delete statement.
|
#
|
public
|
compileTruncate(Builder $query): array
Compile a truncate table statement into SQL.
Compile a truncate table statement into SQL.
|
#
|
public
|
supportsSavepoints(): bool
Determine if the grammar supports savepoints.
Determine if the grammar supports savepoints.
|
#
|
public
|
compileSavepoint(string $name): string
Compile the SQL statement to define a savepoint.
Compile the SQL statement to define a savepoint.
|
#
|
public
|
compileSavepointRollBack(string $name): string
Compile the SQL statement to execute a savepoint rollback.
Compile the SQL statement to execute a savepoint rollback.
|
#
|
public
|
wrap(Expression|string $value, bool $prefixAlias = false): string
Wrap a value in keyword identifiers.
Wrap a value in keyword identifiers.
Overrides
|
#
|
public
|
getOperators(): array
Get the grammar specific operators.
Get the grammar specific operators.
|
#
|
public
|
getBitwiseOperators(): array
Get the grammar specific bitwise operators.
Get the grammar specific bitwise operators.
|
#
|