Method | Description | |
---|---|---|
Discard ( |
Discard a row from its primary key within the transaction. | |
DiscardAll ( array $PrimaryKeys ) : void | Discard an array of rows from their primary keys within the transaction. | |
DiscardWhere ( |
Discard rows if they match the supplied criterion. | |
Execute ( |
Add a procedure to be executed within the transaction. | |
GetDiscardedCriteria ( ) : |
||
GetDiscardedPrimaryKeyGroups ( ) : |
||
GetDiscardedPrimaryKeys ( ) : |
||
GetPersistedRowGroups ( ) : |
||
GetPersistedRows ( ) : |
||
GetProcedures ( ) : |
||
Persist ( |
Persist a row within the transaction. | |
PersistAll ( array $Rows ) : void | Persist an array of rows within the transaction. | |
SubscribeToPostPersistEvent ( Storm\Core\Relational\ITable $Table, callable $Event ) : void | Subscribe a callback to after the supplied row was persisted. | |
SubscribeToPrePersistEvent ( Storm\Core\Relational\ITable $Table, callable $Event ) | Subscribe a callback to when the supplied row will be persisted. | |
TriggerPostPersistEvent ( Storm\Core\Relational\ITable $Table ) : void | Trigger the post persist callbacks for the supplied rows | |
TriggerPrePersistEvent ( Storm\Core\Relational\ITable $Table ) : void | Trigger the pre persist callbacks for the supplied rows | |
__construct ( ) |
Method | Description | |
---|---|---|
AddEvent ( |
Add an event to an event map | |
TriggerEvents ( |
Trigger all events in an event map with a specific key. |
public DiscardAll ( array $PrimaryKeys ) : void | ||
$PrimaryKeys | array | The primary keys to discard |
return | void |
public DiscardWhere ( |
||
$Criterion | The criterion to match | |
return | void |
public GetDiscardedCriteria ( ) : |
||
return |
public GetDiscardedPrimaryKeyGroups ( ) : |
||
return |
public GetDiscardedPrimaryKeys ( ) : |
||
return |
public PersistAll ( array $Rows ) : void | ||
$Rows | array | The rows to persist |
return | void |
public SubscribeToPostPersistEvent ( Storm\Core\Relational\ITable $Table, callable $Event ) : void | ||
$Table | Storm\Core\Relational\ITable | |
$Event | callable | |
return | void |
public SubscribeToPrePersistEvent ( Storm\Core\Relational\ITable $Table, callable $Event ) | ||
$Table | Storm\Core\Relational\ITable | |
$Event | callable |
public TriggerPostPersistEvent ( Storm\Core\Relational\ITable $Table ) : void | ||
$Table | Storm\Core\Relational\ITable | The table to trigger |
return | void |
public TriggerPrePersistEvent ( Storm\Core\Relational\ITable $Table ) : void | ||
$Table | Storm\Core\Relational\ITable | The table to trigger |
return | void |