Check for collection existence when initializing timeseries #1120
koloboid
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks! Subj. Just a case: You have an existing database in MongoDB, that contains a simple collection named 'test.' Now, you describe a time-series collection named 'test' using Beanie's model settings, push some data into it (a lot of data, actually), and everything works fine. But this collection is still a generic collection, not a time-series!
Maybe we can get an error during the init_beanie() call when such a situation has happened? Thanks
Beta Was this translation helpful? Give feedback.
All reactions