TimeseriesOptions
public struct TimeseriesOptions : CodableThe options to use when creating a time series collection.
- 
                  
                  Name of the top-level field to be used for time. Inserted documents must have this field, and the field must be of the BSON UTC datetime type. DeclarationSwift public var timeField: String
- 
                  
                  Name of the top-level field describing the series. This field is used to group related data and may be of any BSON type except array. This name must not be the same as the timeFieldor_id.DeclarationSwift public var metaField: String?
- 
                  
                  The units used to describe the expected interval between subsequent measurements for a time series collection. Defaults to Granularity.secondsif unset.DeclarationSwift public var granularity: Granularity?
- 
                  
                  The units used to describe the expected interval between subsequent measurements for a time series collection. See moreDeclarationSwift public struct Granularity : RawRepresentable, Codable
 View on GitHub
            View on GitHub
           Install in Dash
            Install in Dash
           TimeseriesOptions Structure Reference
      TimeseriesOptions Structure Reference