class
Illuminate
/
Database
/
Schema
/
PostgresBuilder
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
PostgresBuilder
Extends
Uses
Methods
public
createDatabase ( $name ) : bool
Create a database in the schema.
Parameters
- $name string
public
dropDatabaseIfExists ( $name ) : bool
Drop a database from the schema if the database exists.
Parameters
- $name string
public
hasTable ( $table ) : bool
Determine if the given table exists.
Parameters
- $table string
public
dropAllTables ( ) : void
Drop all tables from the database.
public
dropAllViews ( ) : void
Drop all views from the database.
public
dropAllTypes ( ) : void
Drop all types from the database.
public
getAllTables ( ) : array
Get all of the table names for the database.
public
getAllViews ( ) : array
Get all of the view names for the database.
public
getAllTypes ( ) : array
Get all of the type names for the database.
public
getColumnListing ( $table ) : array
Get the column listing for a given table.
Parameters
- $table string
protected
parseSchemaAndTable ( $reference ) : array
Parse the database object reference and extract the database, schema, and table.
Parameters
- $reference string
protected
parseSearchPath ( $searchPath ) : array
Parse the "search_path" configuration value into an array.
Parameters
- $searchPath string|array|null