Class WorkQueue
Queue for scheduling queries to be run later, in the proper order
Methods summary
public
Alchemy\util\promise\Promise
|
#
delete( string $cls, array $pk )
Delete data based on the given filters
Delete data based on the given filters
Parameters
- $cls
string $cls Class name of DataMapper subclass
- $pk
array $pk array(ColumnName => IQueryValue) UPDATE Filters
Returns
|
public
|
|
public
Alchemy\util\promise\Promise
|
#
insert( string $cls, array $data )
INSERT data based on the given DataMapper class and a record of
properties.
INSERT data based on the given DataMapper class and a record of
properties.
Parameters
- $cls
string $cls Class name of DataMapper subclass
- $data
array $data Array of properties to send in the INSERT
Returns
|
protected
Alchemy\util\promise\Promise
|
|
public
Alchemy\util\promise\Promise
|
#
update( string $cls, array $pk, array $data )
UPDATE data based on the given DataMapper class, a record of properties to
update, and an array keys
UPDATE data based on the given DataMapper class, a record of properties to
update, and an array keys
Parameters
- $cls
string $cls Class name of DataMapper subclass
- $pk
array $pk array(ColumnName => IQueryValue) UPDATE Filters
- $data
array $data Array of properties to send in the INSERT
Returns
|
Properties summary
protected
array
|
$queue
|
array() |
|