Expand description

Client which can read and write data from InfluxDB.

Arguments

  • url: The URL where InfluxDB is running (ex. http://localhost:8086).
  • database: The Database against which queries and writes will be run.

Examples

use influxdb::client::InfluxDbClient;

let client = InfluxDbClient::new("http://localhost:8086", "test");

assert_eq!(client.database_name(), "test");

Structs

Internal Representation of a Client