Skip to content
Advertisement

How to create MongoDB Time Series Collection using pymongo

The documentation shows how to do it with mongosh, but how do you create Time Series Collection using pymongo from within a python script?

JavaScript

Advertisement

Answer

You can try this:

JavaScript

General Reference: Time Series Collections

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement