Class implementing Query adapter for working with Azure queries in a structured way
todo | Look into preventing a query injection attack. |
---|---|
category | Zend |
package | Zend_Cloud |
subpackage | DocumentService |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(null|\Zend_Service_WindowsAzure_Storage_TableEntityQuery $select = null
) : void
null
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
Table select object
assemble() : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Simply return the WindowsAzure table entity query object
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::assemble() |
---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
from(string $from) : \Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::from() |
---|
string
\Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
getAzureSelect() : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
limit(integer $limit) : \Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::limit() |
---|
integer
\Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
order(string $sort, string $direction = 'asc'
) : \Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
todo | Azure service doesn't seem to support this yet; emulate? |
---|---|
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::order() |
string
Column to sort by
string
Direction - asc/desc
\Zend_Cloud_OperationNotAvailableException |
---|
\Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
select(string $select) : \Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
Does nothing for Azure.
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::select() |
---|
string
\Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
where(string $where, mixed $value= null
, string $op= 'and'
) : \Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::where() |
---|
string
mixed
Value or array of values to be inserted instead of ?
string
Operation to use to join where clauses (AND/OR)
\Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
whereId(array $value) : \Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
This one should be used when fetching specific rows since some adapters have special syntax for primary keys
inherited_from | \Zend_Cloud_DocumentService_QueryAdapter::whereId() |
---|
array
Row ID for the document (PartitionKey, RowKey)
\Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
$_azureSelect : \Zend_Service_WindowsAzure_Storage_TableEntityQuery