0.9.2 • Published 3 years ago

@crapougnax/influx-orm v0.9.2

Weekly downloads
13
License
MIT
Repository
bitbucket
Last release
3 years ago

Influx ORM

A friendly Influx ORM to ease your data retrieval and rendering.

Import

import { InfluxQL } from '@bradtech/influx-orm'

Build a query

const query = InfluxQL.select()
  .from('temperature', [air, soil])
  .whereTime({ start: Date.now(), interval: '-24h' })

Set a client and send a query

const client = InfluxQL.client('http://localhost:8086', { username: '', password: '' })
const data = client.call(query)

Use a formatter

const formatter = new ReactNativeChartKitFormatter({ params })
const formattedData = client.setFormatter(formatter).call(query)
0.9.2

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

1.24.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago