Exemplo n.º 1
0
 /**
  * WHERE clause (conditions to be used)
  * 
  * @param string $where
  * @param mixed $value Value or array of values to be inserted instead of ?
  * @param string $op Operation to use to join where clauses (AND/OR)
  * @return Zend_Cloud_DocumentService_Adapter_WindowsAzure_Query
  */
 public function where($where, $value = null, $op = 'and')
 {
     if (!empty($value) && !is_array($value)) {
         // fix buglet in Azure - numeric values are quoted unless passed as an array
         $value = array($value);
     }
     $this->_azureSelect->where($where, $value, $op);
     return $this;
 }