$result = $this->collection->group(
array('sample.yname' => TRUE),
array('count' => 0), new \MongoCode('function(doc, prev){ prev.count += 1} '),
array('condition' => array('sample.yname' => array('$nin' => array("xxx", "xx", 'x'))))
); PHP_INT_MAX = 2147483647You are using 32bit mongo and php, you need to use 64bit versions.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/24674552-3f42-477d-a57d-554545d076f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Scratch that, on further investigation those are all 64bit, it was tbe "win32" that was confusing me.
Hi Jeremy,