Skip to content

Conversation

@TyHil
Copy link
Member

@TyHil TyHil commented Apr 9, 2025

Fix for using #64 on prod

Turns out you can't use $out on serverless databases. I got panic: (AtlasError) $out is not allowed or the syntax is incorrect, see the Atlas documentation for more information when I tried to run the code from #64 on prod. So this uses events.InsertMany instead.

I already ran this on prod to replace the view with a collection.

Copy link
Contributor

@jpahm jpahm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks for the fix!

@jpahm jpahm merged commit f298b1c into develop Apr 9, 2025
2 checks passed
@jpahm jpahm deleted the events-aggregation-fix branch April 9, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants