SqlServerGrammar
class SqlServerGrammar extends Grammar (View source)
Methods
string
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
getDateFormat()
Get the format for database stored dates.
string
string
string
from Grammar
string
compileInsertGetId(
Builder $query,
array $values,
string $sequence)
Compile an insert and get ID statement into SQL.
from Grammar
string
array
bool
supportsSavepoints()
Determine if the grammar supports savepoints.
string
compileSavepoint(
string $name)
Compile the SQL statement to define a savepoint.
from Grammar
string
compileSavepointRollBack(
string $name)
Compile the SQL statement to execute a savepoint rollback.
from Grammar
Details
string
wrap(
Expression|string $value,
bool $prefixAlias = false)
Wrap a value in keyword identifiers.
string
compileInsertGetId(
Builder $query,
array $values,
string $sequence)
Compile an insert and get ID statement into SQL.
at line line 283
string
compileUpdate(
Builder $query,
array $values)
Compile an update statement into SQL.
at line line 207
array
compileTruncate(
Builder $query)
Compile a truncate table statement into SQL.