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
Hi there, I just can't get to aggregate results by time.
Let's say I log errors in a MongoDB collection. How can I group the number of errors per day (for example) ?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
I think it would be better to use the raw() method in this case and use the native MongoCollection methods.
raw()
https://github.com/jenssegers/Laravel-MongoDB#raw-expressions
Sorry, something went wrong.
I tried this but the query failed. I'm new to MongoDB so it's probably that I'm not using aggregation operators properly.. Thank you!
No branches or pull requests
Hi there,
I just can't get to aggregate results by time.
Let's say I log errors in a MongoDB collection.
How can I group the number of errors per day (for example) ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: