Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0ALPHA2
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
After removing addWhere http://www.doctrine-project.org/projects/mongodb_odm/1.0/docs/reference/query-builder-api/en#addWhere should be updated.
$query = $dm->createQuery('User')
->where('type', 'admin')
->where('active', 1);
like this, right?
http://github.com/doctrine/mongodb-odm/blob/master/lib/Doctrine/ODM/MongoDB/Query.php#L313
Is at least missleading.
Thanks for the great work!