PHP 클래스 Yajra\Oci8\Schema\Grammars\OracleGrammar

상속: extends Illuminate\Database\Schema\Grammars\Grammar, use trait Yajra\Oci8\OracleReservedWords
파일 보기 프로젝트 열기: yajra/laravel-oci8

보호된 프로퍼티들

프로퍼티 타입 설명
$modifiers array The possible column modifiers.
$schema_prefix string
$serials array The possible column serials
$transactions boolean If this Grammar supports schema changes wrapped in a transaction.
$wrapper string The keyword identifier wrapper format.

공개 메소드들

메소드 설명
compileAdd ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile an add column command.
compileColumnExists ( string $database, string $table ) : string Compile the query to determine the list of columns.
compileCreate ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a create table command.
compileDrop ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop table command.
compileDropColumn ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop column command.
compileDropForeign ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop foreign key command.
compileDropIfExists ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop table (if exists) command.
compileDropIndex ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop index command.
compileDropPrimary ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop primary key command.
compileDropUnique ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a drop unique key command.
compileForeign ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | void Compile a foreign key command.
compileIndex ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a plain index key command.
compilePrimary ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a primary key command.
compileRename ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a rename table command.
compileRenameColumn ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command, Connection $connection ) : array Compile a rename column command.
compileTableExists ( ) : string Compile the query to determine if a table exists.
compileUnique ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string Compile a unique key command.
getSchemaPrefix ( ) : string Get the schema prefix.
setSchemaPrefix ( string $prefix ) Set the schema prefix.
wrapTable ( mixed $table ) : string Wrap a table in keyword identifiers.

보호된 메소드들

메소드 설명
addForeignKeys ( Illuminate\Database\Schema\Blueprint $blueprint ) : string Get the foreign key syntax for a table creation statement.
addPrimaryKeys ( Illuminate\Database\Schema\Blueprint $blueprint ) : string | null Get the primary key syntax for a table creation statement.
modifyDefault ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string Get the SQL for a default column modifier.
modifyIncrement ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string | null Get the SQL for an auto-increment column modifier.
modifyNullable ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string Get the SQL for a nullable column modifier.
typeBigInteger ( Illuminate\Support\Fluent $column ) : string Create the column definition for a integer type.
typeBinary ( Illuminate\Support\Fluent $column ) : string Create the column definition for a binary type.
typeBoolean ( Illuminate\Support\Fluent $column ) : string Create the column definition for a boolean type.
typeChar ( Illuminate\Support\Fluent $column ) : string Create the column definition for a char type.
typeDate ( Illuminate\Support\Fluent $column ) : string Create the column definition for a date type.
typeDateTime ( Illuminate\Support\Fluent $column ) : string Create the column definition for a date-time type.
typeDecimal ( Illuminate\Support\Fluent $column ) : string Create the column definition for a decimal type.
typeDouble ( Illuminate\Support\Fluent $column ) : string Create the column definition for a double type.
typeEnum ( Illuminate\Support\Fluent $column ) : string Create the column definition for a enum type.
typeFloat ( Illuminate\Support\Fluent $column ) : string Create the column definition for a float type.
typeInteger ( Illuminate\Support\Fluent $column ) : string Create the column definition for a integer type.
typeLongText ( Illuminate\Support\Fluent $column ) : string Create the column definition for a long text type.
typeMediumInteger ( Illuminate\Support\Fluent $column ) : string Create the column definition for a medium integer type.
typeMediumText ( Illuminate\Support\Fluent $column ) : string Create the column definition for a medium text type.
typeNvarchar2 ( Illuminate\Support\Fluent $column ) : string Create column definition for a nvarchar type.
typeSmallInteger ( Illuminate\Support\Fluent $column ) : string Create the column definition for a small integer type.
typeString ( Illuminate\Support\Fluent $column ) : string Create the column definition for a string type.
typeText ( Illuminate\Support\Fluent $column ) : string Create the column definition for a text type.
typeTime ( Illuminate\Support\Fluent $column ) : string Create the column definition for a time type.
typeTimestamp ( Illuminate\Support\Fluent $column ) : string Create the column definition for a timestamp type.
typeTimestampTz ( Illuminate\Support\Fluent $column ) : string Create the column definition for a timestamp type with timezone.
typeTinyInteger ( Illuminate\Support\Fluent $column ) : string Create the column definition for a tiny integer type.
wrapValue ( string $value ) : string Wrap a single string in keyword identifiers.

비공개 메소드들

메소드 설명
dropConstraint ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command, string $type ) : string

메소드 상세

addForeignKeys() 보호된 메소드

Get the foreign key syntax for a table creation statement.
protected addForeignKeys ( Illuminate\Database\Schema\Blueprint $blueprint ) : string
$blueprint Illuminate\Database\Schema\Blueprint
리턴 string

addPrimaryKeys() 보호된 메소드

Get the primary key syntax for a table creation statement.
protected addPrimaryKeys ( Illuminate\Database\Schema\Blueprint $blueprint ) : string | null
$blueprint Illuminate\Database\Schema\Blueprint
리턴 string | null

compileAdd() 공개 메소드

Compile an add column command.
public compileAdd ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileColumnExists() 공개 메소드

Compile the query to determine the list of columns.
public compileColumnExists ( string $database, string $table ) : string
$database string
$table string
리턴 string

compileCreate() 공개 메소드

Compile a create table command.
public compileCreate ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDrop() 공개 메소드

Compile a drop table command.
public compileDrop ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDropColumn() 공개 메소드

Compile a drop column command.
public compileDropColumn ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDropForeign() 공개 메소드

Compile a drop foreign key command.
public compileDropForeign ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDropIfExists() 공개 메소드

Compile a drop table (if exists) command.
public compileDropIfExists ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDropIndex() 공개 메소드

Compile a drop index command.
public compileDropIndex ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDropPrimary() 공개 메소드

Compile a drop primary key command.
public compileDropPrimary ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileDropUnique() 공개 메소드

Compile a drop unique key command.
public compileDropUnique ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileForeign() 공개 메소드

Compile a foreign key command.
public compileForeign ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | void
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string | void

compileIndex() 공개 메소드

Compile a plain index key command.
public compileIndex ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compilePrimary() 공개 메소드

Compile a primary key command.
public compilePrimary ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileRename() 공개 메소드

Compile a rename table command.
public compileRename ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

compileRenameColumn() 공개 메소드

Compile a rename column command.
public compileRenameColumn ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command, Connection $connection ) : array
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
$connection Illuminate\Database\Connection
리턴 array

compileTableExists() 공개 메소드

Compile the query to determine if a table exists.
public compileTableExists ( ) : string
리턴 string

compileUnique() 공개 메소드

Compile a unique key command.
public compileUnique ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$command Illuminate\Support\Fluent
리턴 string

getSchemaPrefix() 공개 메소드

Get the schema prefix.
public getSchemaPrefix ( ) : string
리턴 string

modifyDefault() 보호된 메소드

Get the SQL for a default column modifier.
protected modifyDefault ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$column Illuminate\Support\Fluent
리턴 string

modifyIncrement() 보호된 메소드

Get the SQL for an auto-increment column modifier.
protected modifyIncrement ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string | null
$blueprint Illuminate\Database\Schema\Blueprint
$column Illuminate\Support\Fluent
리턴 string | null

modifyNullable() 보호된 메소드

Get the SQL for a nullable column modifier.
protected modifyNullable ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string
$blueprint Illuminate\Database\Schema\Blueprint
$column Illuminate\Support\Fluent
리턴 string

setSchemaPrefix() 공개 메소드

Set the schema prefix.
public setSchemaPrefix ( string $prefix )
$prefix string

typeBigInteger() 보호된 메소드

Create the column definition for a integer type.
protected typeBigInteger ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeBinary() 보호된 메소드

Create the column definition for a binary type.
protected typeBinary ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeBoolean() 보호된 메소드

Create the column definition for a boolean type.
protected typeBoolean ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeChar() 보호된 메소드

Create the column definition for a char type.
protected typeChar ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeDate() 보호된 메소드

Create the column definition for a date type.
protected typeDate ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeDateTime() 보호된 메소드

Create the column definition for a date-time type.
protected typeDateTime ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeDecimal() 보호된 메소드

Create the column definition for a decimal type.
protected typeDecimal ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeDouble() 보호된 메소드

Create the column definition for a double type.
protected typeDouble ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeEnum() 보호된 메소드

Create the column definition for a enum type.
protected typeEnum ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeFloat() 보호된 메소드

Create the column definition for a float type.
protected typeFloat ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeInteger() 보호된 메소드

Create the column definition for a integer type.
protected typeInteger ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeLongText() 보호된 메소드

Create the column definition for a long text type.
protected typeLongText ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeMediumInteger() 보호된 메소드

Create the column definition for a medium integer type.
protected typeMediumInteger ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeMediumText() 보호된 메소드

Create the column definition for a medium text type.
protected typeMediumText ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeNvarchar2() 보호된 메소드

Create column definition for a nvarchar type.
protected typeNvarchar2 ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeSmallInteger() 보호된 메소드

Create the column definition for a small integer type.
protected typeSmallInteger ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeString() 보호된 메소드

Create the column definition for a string type.
protected typeString ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeText() 보호된 메소드

Create the column definition for a text type.
protected typeText ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeTime() 보호된 메소드

Create the column definition for a time type.
protected typeTime ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeTimestamp() 보호된 메소드

Create the column definition for a timestamp type.
protected typeTimestamp ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeTimestampTz() 보호된 메소드

Create the column definition for a timestamp type with timezone.
protected typeTimestampTz ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

typeTinyInteger() 보호된 메소드

Create the column definition for a tiny integer type.
protected typeTinyInteger ( Illuminate\Support\Fluent $column ) : string
$column Illuminate\Support\Fluent
리턴 string

wrapTable() 공개 메소드

Wrap a table in keyword identifiers.
public wrapTable ( mixed $table ) : string
$table mixed
리턴 string

wrapValue() 보호된 메소드

Wrap a single string in keyword identifiers.
protected wrapValue ( string $value ) : string
$value string
리턴 string

프로퍼티 상세

$modifiers 보호되어 있는 프로퍼티

The possible column modifiers.
protected array $modifiers
리턴 array

$schema_prefix 보호되어 있는 프로퍼티

protected string $schema_prefix
리턴 string

$serials 보호되어 있는 프로퍼티

The possible column serials
protected array $serials
리턴 array

$transactions 보호되어 있는 프로퍼티

If this Grammar supports schema changes wrapped in a transaction.
protected bool $transactions
리턴 boolean

$wrapper 보호되어 있는 프로퍼티

The keyword identifier wrapper format.
protected string $wrapper
리턴 string