diff --git a/src/templates/playgroundCreateCollectionTemplate.ts b/src/templates/playgroundCreateCollectionTemplate.ts index dc0b5d842..b6fa0db3e 100644 --- a/src/templates/playgroundCreateCollectionTemplate.ts +++ b/src/templates/playgroundCreateCollectionTemplate.ts @@ -29,7 +29,9 @@ db.createCollection(collection); timeseries: { // Added in MongoDB 5.0 timeField: , // required for time series collections metaField: , - granularity: + granularity: , + bucketMaxSpanSeconds: , // Added in MongoDB 6.3 + bucketRoundingSeconds: , // Added in MongoDB 6.3 }, expireAfterSeconds: , clusteredIndex: , // Added in MongoDB 5.3