Skip to content
New issue

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

Timeseries collection #2661

Open
hack3d opened this issue Jun 21, 2022 · 1 comment · May be fixed by #2797
Open

Timeseries collection #2661

hack3d opened this issue Jun 21, 2022 · 1 comment · May be fixed by #2797
Labels

Comments

@hack3d
Copy link

hack3d commented Jun 21, 2022

Hi,

is it possible to create a timeseries collection with mongoengine?
I cant't find any documentation for that. Only the way directly on mongoDB: https://www.mongodb.com/docs/manual/core/timeseries-collections/

@bagerard
Copy link
Collaborator

Time Series were introduced in Mongo 5.0 and there is no support for it now.
If we would want to add this, the best would be to add a 'timeseries' in the Document meta dictionary similarly to what we do to support capped collections here

massooti pushed a commit to massooti/mongoengine that referenced this issue Feb 20, 2024
Introduce a new feature to support timeseries collections in the mongoengine library. The implementation includes enhancements to handle time-based data storage efficiently. This feature enables users to create and interact with timeseries collections, providing better support for time-series data scenarios.

Closes MongoEngine#2661 (if applicable)
@massooti massooti linked a pull request Feb 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants