How do I insert a document on a time series collections that isn't created yet?

I want to insert documents into a time series collection (which will only be created when I insert a document for the first time). It is possible?

Hi @Gabriel_Cardoso,

No it’s not possible because the Timeseries collections need to know which field is the “timeField” so a Timeseries collection needs to be explicitely created before you insert the first document.

The timeseries.timeField is required.

Cheers,
Maxime.

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.