influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client-giraffe > acceptMaxTableLength

acceptMaxTableLength() function

Creates an accept function that stops processing if the table reaches the specified max rows.

Signature:

declare function acceptMaxTableLength(max: number): AcceptRowFunction;

Parameters

Parameter Type Description
max number  

Returns:

AcceptRowFunction

AcceptRowFunction that enforces that most max rows are processed