@influxdata/influxdb3-client
    Preparing search index...

    Interface QueryOptions

    const data = client.query('SELECT * FROM drive', 'ev_onboard_45ae770c', {
    type: 'sql',
    headers: {
    'one-off': 'totl', // one-off query header
    'change-on': 'shift1', // over-write universal value
    },
    params: {
    point: 'a7',
    action: 'reverse',
    },
    })
    interface QueryOptions {
        grpcOptions?: Record<string, any>;
        headers?: Record<string, string>;
        params?: Record<string, QParamType>;
        type: QueryType;
    }
    Index

    Properties

    grpcOptions?: Record<string, any>

    GRPC specific Parameters to be set when instantiating a client See supported channel options in @grpc/grpc-js/README.md. *

    headers?: Record<string, string>

    Custom headers to add to the request.

    params?: Record<string, QParamType>

    Parameters to accompany a query using them.

    type: QueryType

    Type of query being sent, e.g. 'sql' or 'influxql'.