PHP Class Yajra\Oci8\Schema\OracleBuilder

Inheritance: extends Illuminate\Database\Schema\Builder
Exibir arquivo Open project: yajra/laravel-oci8

Public Properties

Property Type Description
$comment Comment
$helper OracleAutoIncrementHelper

Public Methods

Method Description
__construct ( Connection $connection )
create ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint Create a new table on the schema.
drop ( string $table ) : Illuminate\Database\Schema\Blueprint Drop a table from the schema.
dropIfExists ( string $table ) : Illuminate\Support\Fluent Indicate that the table should be dropped if it exists.
getColumnListing ( string $table ) : array Get the column listing for a given table.
hasTable ( string $table ) : boolean Determine if the given table exists.
table ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint Changes an existing table on the schema.

Protected Methods

Method Description
createBlueprint ( string $table, Closure $callback = null ) : Illuminate\Database\Schema\Blueprint Create a new command set with a Closure.

Method Details

__construct() public method

public __construct ( Connection $connection )
$connection Illuminate\Database\Connection

create() public method

Create a new table on the schema.
public create ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint
$table string
$callback Closure
return Illuminate\Database\Schema\Blueprint

createBlueprint() protected method

Create a new command set with a Closure.
protected createBlueprint ( string $table, Closure $callback = null ) : Illuminate\Database\Schema\Blueprint
$table string
$callback Closure
return Illuminate\Database\Schema\Blueprint

drop() public method

Drop a table from the schema.
public drop ( string $table ) : Illuminate\Database\Schema\Blueprint
$table string
return Illuminate\Database\Schema\Blueprint

dropIfExists() public method

Indicate that the table should be dropped if it exists.
public dropIfExists ( string $table ) : Illuminate\Support\Fluent
$table string
return Illuminate\Support\Fluent

getColumnListing() public method

Get the column listing for a given table.
public getColumnListing ( string $table ) : array
$table string
return array

hasTable() public method

Determine if the given table exists.
public hasTable ( string $table ) : boolean
$table string
return boolean

table() public method

Changes an existing table on the schema.
public table ( string $table, Closure $callback ) : Illuminate\Database\Schema\Blueprint
$table string
$callback Closure
return Illuminate\Database\Schema\Blueprint

Property Details

$comment public_oe property

public Comment,Yajra\Oci8\Schema $comment
return Comment

$helper public_oe property

public OracleAutoIncrementHelper,Yajra\Oci8\Schema $helper
return OracleAutoIncrementHelper