Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 750 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 750 Bytes

InfluxDB IOx Client for Go

Package influxdbiox is the official Go client for InfluxDB/IOx.

InfluxDB/IOx uses Arrow Flight gRPC for queries. This client makes it easy to use that interface.

Take a look at the godoc for usage.

SQL

Package ioxsql contains an implementation of the database/sql driver interface.

Tests

This project does not run tests as part of CI. Most tests depend on a running instance of InfluxDB/IOx, and each creates its own database. To start an in-memory instance, from the InfluxDB/IOx repository root:

$ cargo build
$ ./target/debug/influxdb_iox run all-in-one

Then run the tests like any golang test:

$ go test ./...