PHP Класс Yajra\Oci8\Schema\Grammars\OracleGrammar

Наследование: extends Illuminate\Database\Schema\Grammars\Grammar, use trait Yajra\Oci8\OracleReservedWords
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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