node-influx
    Preparing search index...

    Interface IBaseExpression<T>

    interface IBaseExpression<T> {
        field: (name: string) => T;
        tag: (name: string) => T;
        value: (value: any) => T;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    field: (name: string) => T

    Inserts a field name in the expression.

    tag: (name: string) => T

    Inserts a tag name in the expression.

    value: (value: any) => T

    Chains on a value to the expression. An error will be thrown if the value is a type we can't represent in InfluxQL, primarily null or undefined.