Mvc\Model\Query\Builder::andWhere

public Phalcon\Mvc\Model\Query\Builder andWhere (string $conditions, [array $bindParams], [array $bindTypes])

Appends a condition to the current conditions using a AND operator

$builder->andWhere('name = "Peter"');
$builder->andWhere('name = :name: AND id > :id:', array('name' => 'Peter', 'id' => 100));
doc_Phalcon
2016-10-16 09:54:28
Comments
Leave a Comment

Please login to continue.