Свойство | Тип | Описание | |
---|---|---|---|
$connection | |||
$sequence | |||
$trigger |
Метод | Описание | |
---|---|---|
__construct ( |
||
createAutoIncrementObjects ( Illuminate\Database\Schema\Blueprint $blueprint, string $table ) : null | create sequence and trigger for autoIncrement support | |
dropAutoIncrementObjects ( string $table ) : null | Drop sequence and triggers if exists, autoincrement objects. | |
getPrimaryKey ( string $table ) : string | Get table's primary key. | |
getQualifiedAutoIncrementColumn ( Illuminate\Database\Schema\Blueprint $blueprint ) : Illuminate\Support\Fluent | null | Get qualified autoincrement column. | |
getSequence ( ) : |
Get sequence instance. | |
getTrigger ( ) : |
Get trigger instance. | |
setSequence ( |
Set sequence instance. | |
setTrigger ( |
Set the trigger instance. |
Метод | Описание | |
---|---|---|
createObjectName ( string $prefix, string $table, string $col, string $type ) : string | Create an object name that limits to 30 chars. |
public __construct ( |
||
$connection |
public createAutoIncrementObjects ( Illuminate\Database\Schema\Blueprint $blueprint, string $table ) : null | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
$table | string | |
Результат | null |
public dropAutoIncrementObjects ( string $table ) : null | ||
$table | string | |
Результат | null |
public getPrimaryKey ( string $table ) : string | ||
$table | string | |
Результат | string |
public getQualifiedAutoIncrementColumn ( Illuminate\Database\Schema\Blueprint $blueprint ) : Illuminate\Support\Fluent | null | ||
$blueprint | Illuminate\Database\Schema\Blueprint | |
Результат | Illuminate\Support\Fluent | null |
public getSequence ( ) : |
||
Результат |
public getTrigger ( ) : |
||
Результат |
public setSequence ( |
||
$sequence |
public setTrigger ( |
||
$trigger |
protected Connection,Illuminate\Database $connection | ||
Результат |