class InfluxDB::Client

Included Modules

Defined in:

influxdb/client.cr
influxdb/client/databases.cr
influxdb/client/exception.cr
influxdb/client/exceptions/unauthorized.cr
influxdb/client/users.cr

Constant Summary

DEFAULT_PASSWORD = "root"
DEFAULT_URL = "http://localhost:8086"
DEFAULT_USERNAME = "root"

Constructors

Instance Method Summary

Macro Summary

Instance methods inherited from module InfluxDB::Client::Users

users(db = "") users

Instance methods inherited from module InfluxDB::Client::Databases

databases databases

Constructor Detail

def self.new(url = DEFAULT_URL, username : String = DEFAULT_USERNAME, password : String = DEFAULT_PASSWORD) #

[View source]

Instance Method Detail

def client #

[View source]
def host #

[View source]
def port #

[View source]
def query(q, db = "") #

[View source]

Macro Detail

macro method_missing(call) #

[View source]