node-influx
    Preparing search index...

    Interface IWriteOptions

    interface IWriteOptions {
        database?: string;
        precision?: TimePrecision;
        retentionPolicy?: string;
    }
    Index
    database?: string

    Database under which to write the points. This is required if a default database is not provided in Influx.

    precision?: TimePrecision

    Precision at which the points are written, defaults to nanoseconds 'n'.

    retentionPolicy?: string

    Retention policy to write the points under, defaults to the DEFAULT database policy.