We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
These error cause when i try to run following code:
$collection = $this->getClient()->getDatabase($this->db)->getCollection('messages'); $pipeline = $collection->createAggregator()->setBatchSize(100)->group(array('_id' => '$channelId', 'sum' => array('$sum' => 1))); $result = $collection->aggregate($pipeline, array(), false);
I think that error on 1056 line in Sokil\Mongo\Collection.php:
if ($status['ok'] != 1) { throw new Exception('Aggregate error: ' . $status['errmsg']); }
If i fetch data as cursor (pass true in third aggregate function parameter) - works fine.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
These error cause when i try to run following code:
I think that error on 1056 line in Sokil\Mongo\Collection.php:
If i fetch data as cursor (pass true in third aggregate function parameter) - works fine.
The text was updated successfully, but these errors were encountered: