@galenjs/influx-query-filter
v1.0.0
Published
galenjs influx query filter.
Downloads
4
Readme
influx-query-filter
TODO: description
Usage
const influxQueryFilter = require('@galenjs/influx-query-filter')
influxQueryFilter({
filter: '{"where":{"time":{"$gt":1611818628223}},"order":"time","limit":10}',
tableName: 'test',
tags: ['path']
})
where
- $gt: >
- $gte: >=
- $lt: <
- $lte: <=
where: {"time":{"$gt":1611818628223}}
order
order=time desc
limit
limit=10
example
v1/responseTime?where={"time":{"$gt":1611818628223}}&order=time desc&limit=10