Class Postgres
- Laravel\Database\Grammar
- Laravel\Database\Schema\Grammars\Grammar
- Laravel\Database\Schema\Grammars\Postgres
Located at laravel/database/schema/grammars/postgres.php
public
array
|
#
create(
Generate the SQL statements for a table creation command. |
public
array
|
#
add(
Generate the SQL statements for a table modification command. |
protected
array
|
#
columns(
Create the individual column definitions for the table. |
protected
string
|
#
nullable(
Get the SQL syntax for indicating if a column is nullable. |
protected
string
|
#
defaults(
Get the SQL syntax for specifying a default value on a column. |
protected
string
|
#
incrementer(
Get the SQL syntax for defining an auto-incrementing column. |
public
string
|
#
primary(
Generate the SQL statement for creating a primary key. |
public
string
|
#
unique(
Generate the SQL statement for creating a unique index. |
public
string
|
#
fulltext(
Generate the SQL statement for creating a full-text index. |
public
string
|
#
index(
Generate the SQL statement for creating a regular index. |
protected
string
|
#
key(
Generate the SQL statement for creating a new index. |
public
string
|
#
rename(
Generate the SQL statement for a rename table command. |
public
string
|
#
drop_column(
Generate the SQL statement for a drop column command. |
public
string
|
#
drop_primary(
Generate the SQL statement for a drop primary key command. |
public
string
|
#
drop_unique(
Generate the SQL statement for a drop unique key command. |
public
string
|
#
drop_fulltext(
Generate the SQL statement for a drop full-text key command. |
public
string
|
#
drop_index(
Generate the SQL statement for a drop index command. |
protected
string
|
#
drop_key(
Generate the SQL statement for a drop key command. |
public
string
|
#
drop_foreign(
Drop a foreign key constraint from the table. |
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
default_value(),
drop(),
drop_constraint(),
foreign(),
type(),
wrap()
|
__construct(),
columnize(),
parameter(),
parameterize(),
wrap_table(),
wrap_value()
|
$connection,
$wrapper
|