Zend Framework
1.12
|
Public Member Functions | |
__construct ($select=null) | |
Constructor. | |
select ($select) | |
SELECT clause (fields to be selected) | |
from ($from) | |
FROM clause (table name) | |
where ($where, $value=null, $op= 'and') | |
WHERE clause (conditions to be used) | |
whereId ($value) | |
WHERE clause for item ID. | |
limit ($limit) | |
LIMIT clause (how many rows to return) | |
order ($sort, $direction= 'asc') | |
ORDER BY clause (sorting) | |
getAzureSelect () | |
Get Azure select query. | |
assemble () | |
Assemble query. | |
Protected Attributes | |
$_azureSelect | |
__construct | ( | $select = null | ) |
Constructor.
null | Zend_Service_WindowsAzure_Storage_TableEntityQuery | $select | Table select object |
assemble | ( | ) |
Assemble query.
Simply return the WindowsAzure table entity query object
Implements Zend_Cloud_DocumentService_QueryAdapter.
from | ( | $from | ) |
getAzureSelect | ( | ) |
Get Azure select query.
limit | ( | $limit | ) |
LIMIT clause (how many rows to return)
int | $limit |
Implements Zend_Cloud_DocumentService_QueryAdapter.
order | ( | $sort, | |
$direction = 'asc' |
|||
) |
ORDER BY clause (sorting)
string | $sort | Column to sort by |
string | $direction | Direction - asc/desc |
Zend_Cloud_OperationNotAvailableException |
Implements Zend_Cloud_DocumentService_QueryAdapter.
select | ( | $select | ) |
SELECT clause (fields to be selected)
Does nothing for Azure.
string | $select |
Implements Zend_Cloud_DocumentService_QueryAdapter.
where | ( | $where, | |
$value = null , |
|||
$op = 'and' |
|||
) |
WHERE clause (conditions to be used)
string | $where | |
mixed | $value | Value or array of values to be inserted instead of ? |
string | $op | Operation to use to join where clauses (AND/OR) |
Implements Zend_Cloud_DocumentService_QueryAdapter.
whereId | ( | $value | ) |
WHERE clause for item ID.
This one should be used when fetching specific rows since some adapters have special syntax for primary keys
array | $value | Row ID for the document (PartitionKey, RowKey) |
Implements Zend_Cloud_DocumentService_QueryAdapter.
|
protected |