cphalcon icon indicating copy to clipboard operation
cphalcon copied to clipboard

Phalcon\Mvc\Model\Criteria: incorrect method name

Open nikolasha opened this issue 13 years ago • 1 comments

Need to rename the method Phalcon\Mvc\Model\Criteria::addWhere() to andWhere(). In particular, for compliance with Phalcon\Mvc\Model\Query\Builder::andWhere()

nikolasha avatar Feb 20 '13 14:02 nikolasha

This is now fixed in the 1.0.0 branch, thanks for reporting this

ghost avatar Feb 25 '13 02:02 ghost