DatabaseImpl.insert

Insert Mir times-series with single column into the DB. Supported time types are SysTime, DateTime, Date, and long.

See also the example in the mir-integration folder.

  1. void insert(Measurement[] measurements)
  2. void insert(Measurement[] measurements)
  3. void insert(string measurementName, string columnName, Series!(TimeIterator, Iterator, 1, kind) series1, string[string] commonTags)
    struct DatabaseImpl(alias manageFunc, alias queryFunc, alias writeFunc)
    version(Have_mir_algorithm)
    const
    void
    insert
    (
    TimeIterator
    SliceKind kind
    Iterator
    )
    (,
    string columnName
    ,
    Series!(TimeIterator, Iterator, 1, kind) series1
    ,
    string[string] commonTags = null
    )
  4. void insert(string measurementName, string[] columnNames, Series!(TimeIterator, Iterator, 2, kind) series, string[string] commonTags)

Parameters

measurementName string

measurement name

columnName string

column name

series1 Series!(TimeIterator, Iterator, 1, kind)

1D time-series

commonTags string[string]

list of tags to add to each measurement (optional)

Meta