aggregate.count() function

aggregate.count() is a user-contributed function maintained by the package author and can be updated or removed at any time.

aggregate.count() constructs a count aggregate for the column.

Function type signature
    ?column: A,
    ?fill: B,
) => {
    reduce: (state: int, values: [E]) => int,
    init: (values: [D]) => int,
    fill: B,
    compute: (state: C) => C,
    column: A,
For more information, see Function type signatures.



Name of the column to aggregate.


When set, value to replace missing values.

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.