public construct(mixed $data): void
Parameter | Type | Description |
---|
$data | mixed | |
public run(Adapter $dbi, ActionType $type, ActionName $name): bool
Parameter | Type | Description |
---|
$dbi | Adapter | |
$type | ActionType | |
$name | ActionName | |
public create(Adapter $dbi): bool
Parameter | Type | Description |
---|
$dbi | Adapter | |
public alter(Adapter $dbi): bool
Parameter | Type | Description |
---|
$dbi | Adapter | |
public drop(Adapter $dbi): bool
Parameter | Type | Description |
---|
$dbi | Adapter | |
Apply an ALTER action to the BaseAction.
public apply(self $action): bool
Parameter | Type | Description |
---|
$action | self | |
Find the difference between two BaseActions.
public diff(self $action): ?self
Parameter | Type | Description |
---|
$action | self | |
Return the BaseAction as an array.
public serializeDrop(): mixed
Generated by Hazaar API Doc Generator