-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Support creating time series collections #2533
Comments
That'd be the way to go IMO. Possible it'll turn out that instead of array-based configs it'll be better to have dedicated
Are you willing to give it a go? |
AnnotationDriver class is set as timeseries so that we avoid validator for timeseries. Timeseries doctrine#2533
Create collection time series support doctrine#2533
I'd be willing to make a stab at this @malarzm. Is there any preference on direction re: using the same Collection definition or having a separate decorator for TimeSeriesCollection? |
Awesome! Thank you 🎉 FWIW there's work started in a draft PR here: #2542
For now we've decided to follow in the footsteps of capped collection as it made sense, however I really like the idea of having
|
HI @bradroc, it would be great to collaborate on this. We need to rerun/fix/add some tests on the project. I've shared some progress on Symfony's new-doctrine-contributors slack channel. If you can join us there it would be great. |
Seeing some progress on this in #2687 |
Feature Request
Summary
As far as I can tell, this ODM doesn't yet support creating time series collections.
It doesn't appear to me that it would be too difficult to implement this. Seems we'd need to add the
timeseries
option onDocument::$collection
like we already do for thecapped
,size
andmax
collection options.The end goal for my team and I would be to have the ability to create time series collections using the DoctrineMongoDBBundle
schema:create
command:The text was updated successfully, but these errors were encountered: