Class Grammar
- Laravel\Database\Grammar
- Laravel\Database\Query\Grammars\Grammar
Direct known subclasses
Laravel\Database\Query\Grammars\MySQL, Laravel\Database\Query\Grammars\Postgres, Laravel\Database\Query\Grammars\SQLite, Laravel\Database\Query\Grammars\SQLServer
public
string
|
|
final protected
array
|
|
final protected
string
|
#
concatenate( array $components )
Concatenate an array of SQL segments, removing those that are empty. |
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
final protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
final protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
public
string
|
#
insert(
Compile a SQL INSERT statement from a Query instance. |
public
string
|
#
insert_get_id(
Compile a SQL INSERT and get ID statement from a Query instance. |
public
string
|
#
update(
Compile a SQL UPDATE statement from a Query instance. |
public
string
|
|
public
string
|
__construct(),
columnize(),
parameter(),
parameterize(),
wrap(),
wrap_table(),
wrap_value()
|
public
string
|
$datetime | 'Y-m-d H:i:s' |
#
The format for properly saving a DateTime. |
protected
array
|
$components | array(
'aggregate', 'selects', 'from', 'joins', 'wheres',
'groupings', 'havings', 'orderings', 'limit', 'offset',
) |
#
All of the query components in the order they should be built. |
$connection,
$wrapper
|