class Illuminate / Database / Schema / MySqlBuilder

MySqlBuilder

Extends

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

getColumnListing ( $table ) : array

Get the column listing for a given table.

Parameters

  • $table string
public

dropAllTables ( ) : void

Drop all tables from the database.

public

dropAllViews ( ) : void

Drop all views 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.