Свойство | Type | Description | |
---|---|---|---|
$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. |
Méthode | Description | |
---|---|---|
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, |
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. |
Méthode | Description | |
---|---|---|
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. |
Méthode | Description | |
---|---|---|
dropConstraint ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command, string $type ) : string |
protected addForeignKeys ( Illuminate\Database\Schema\Blueprint $blueprint ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
Résultat | string |
protected addPrimaryKeys ( Illuminate\Database\Schema\Blueprint $blueprint ) : string | null | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
Résultat | string | null |
public compileAdd ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileCreate ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDrop ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDropColumn ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDropForeign ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDropIfExists ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDropIndex ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDropPrimary ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileDropUnique ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileForeign ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | void | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string | void |
public compileIndex ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compilePrimary ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileRename ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public compileRenameColumn ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command, |
||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
$connection | ||
Résultat | array |
public compileTableExists ( ) : string | ||
Résultat | string |
public compileUnique ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $command ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$command | Illuminate\Support\Fluent | |
Résultat | string |
public getSchemaPrefix ( ) : string | ||
Résultat | string |
protected modifyDefault ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected modifyIncrement ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string | null | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$column | Illuminate\Support\Fluent | |
Résultat | string | null |
protected modifyNullable ( Illuminate\Database\Schema\Blueprint $blueprint, Illuminate\Support\Fluent $column ) : string | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$column | Illuminate\Support\Fluent | |
Résultat | string |
public setSchemaPrefix ( string $prefix ) | ||
$prefix | string |
protected typeBigInteger ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeBinary ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeBoolean ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeDateTime ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeDecimal ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeDouble ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeInteger ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeLongText ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeMediumInteger ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeMediumText ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeNvarchar2 ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeSmallInteger ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeString ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeTimestamp ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeTimestampTz ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected typeTinyInteger ( Illuminate\Support\Fluent $column ) : string | ||
$column | Illuminate\Support\Fluent | |
Résultat | string |
protected array $modifiers | ||
Résultat | array |
protected bool $transactions | ||
Résultat | boolean |
protected string $wrapper | ||
Résultat | string |