Service/WindowsAzure/Storage/TableEntityQuery.php
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Subpackage
- Storage
- Version
- $Id$
\Zend_Service_WindowsAzure_Storage_TableEntityQuery
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods
_quoteInto(string $text, string | array $value = null) : string
Quotes a variable into a condition
Name | Type | Description |
---|---|---|
$text | string | Condition, can contain question mark(s) (?) for parameter insertion. |
$value | string | array | Value(s) to insert in question mark (?) parameters. |
Type | Description |
---|---|
string |
_replaceOperators(string $text) : string
Replace operators
Name | Type | Description |
---|---|---|
$text | string |
Type | Description |
---|---|
string |
andWhere(string $condition, string | array $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Add where clause with AND condition
Name | Type | Description |
---|---|---|
$condition | string | Condition, can contain question mark(s) (?) for parameter insertion. |
$value | string | array | Value(s) to insert in question mark (?) parameters. |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
assembleFrom(boolean $includeParentheses = true) : string
Assemble from
Name | Type | Description |
---|---|---|
$includeParentheses | boolean | Include parentheses? () |
Type | Description |
---|---|
string |
assembleQueryString(boolean $urlEncode = false) : string
Assembles the query string
Name | Type | Description |
---|---|---|
$urlEncode | boolean | Apply URL encoding to the query string |
Type | Description |
---|---|
string |
encodeQuery(string $query) : string
urlencode a query
Name | Type | Description |
---|---|---|
$query | string | Query to encode |
Type | Description |
---|---|
string | Encoded query |
from(string $name) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
From clause
Name | Type | Description |
---|---|---|
$name | string | Table name to select entities from |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
orWhere(string $condition, string | array $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Add where clause with OR condition
Name | Type | Description |
---|---|---|
$condition | string | Condition, can contain question mark(s) (?) for parameter insertion. |
$value | string | array | Value(s) to insert in question mark (?) parameters. |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
orderBy(string $column, string $direction = 'asc') : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
OrderBy clause
Name | Type | Description |
---|---|---|
$column | string | Column to sort by |
$direction | string | Direction to sort (asc/desc) |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
select() : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Select clause
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
top(int $top = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Top clause
Name | Type | Description |
---|---|---|
$top | int | Top to fetch |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
where(string $condition, string | array $value = null, string $cond = '') : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Add where clause
Name | Type | Description |
---|---|---|
$condition | string | Condition, can contain question mark(s) (?) for parameter insertion. |
$value | string | array | Value(s) to insert in question mark (?) parameters. |
$cond | string | Condition for the clause (and/or/not) |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
wherePartitionKey(string $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Specify partition key
Name | Type | Description |
---|---|---|
$value | string | Partition key to query for |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |
whereRowKey(string $value = null) : \Zend_Service_WindowsAzure_Storage_TableEntityQuery
Specify row key
Name | Type | Description |
---|---|---|
$value | string | Row key to query for |
Type | Description |
---|---|
\Zend_Service_WindowsAzure_Storage_TableEntityQuery |