Mvc\Model\Query\Builder::where

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

Sets the query conditions

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

Please login to continue.