TimeSeriesCollectionOptions | mongodb (original) (raw)

Configuration options for timeseries collections

See

https://www.mongodb.com/docs/manual/core/timeseries-collections/

interface TimeSeriesCollectionOptions {
bucketMaxSpanSeconds?: number;
bucketRoundingSeconds?: number;
granularity?: string;
metaField?: string;
timeField: string;
}

Hierarchy (view full)

Index

Properties

bucketMaxSpanSeconds? bucketRoundingSeconds? granularity? metaField? timeField

Properties

OptionalbucketMaxSpanSeconds

bucketMaxSpanSeconds?: number

OptionalbucketRoundingSeconds

bucketRoundingSeconds?: number

Optionalgranularity

granularity?: string

OptionalmetaField

metaField?: string

timeField

timeField: string