public function __construct(array $aConditions)
 {
     $this->aConditions = array();
     foreach ($aConditions as $sEntity => $value) {
         $this->aConditions[] = WhereClauseFactory::build($sEntity, $value);
     }
 }
Ejemplo n.º 2
0
 public function having($entity, $value)
 {
     $this->havings[] = WhereClauseFactory::build($entity, $value);
     return $this;
 }
Ejemplo n.º 3
0
 public function where($entity, $value)
 {
     $this->wheres[] = WhereClauseFactory::build($entity, $value);
     return $this;
 }