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

    Asynchronous API that queries data from a database.

    Implements

    Index

    Constructors

    Methods

    • Execute a query and return the results as an async generator.

      Parameters

      • query: string

        The query string.

      • database: string

        The name of the database to query.

      • options: QueryOptions

        options applied to the query (default: { type: 'sql'}).

      Returns AsyncGenerator<Record<string, any>, void, void>

      An async generator that yields maps of string keys to any values.

    • Execute a query and return the results as an async generator.

      Parameters

      • query: string

        The query string.

      • database: string

        The name of the database to query.

      • options: QueryOptions

        Options for the query (default: {type: 'sql'}).

      Returns AsyncGenerator<PointValues, void, void>

      An async generator that yields PointValues object.