struct InfluxDB::Database

Defined in:

influxdb/database.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Client, name : String) #

[View source]

Instance Method Detail

def drop #

[View source]
def name : String #

[View source]
def query(*args, **options) #

[View source]
def query(*args, **options, &) #

[View source]
def select(fields = "*") #

[View source]
def write(point_values : Array(PointValue), sync = false) #

[View source]
def write(series : String, value : Value, tags = Tags.new, timestamp : Time | Nil = nil, sync = false) #

[View source]
def write(series : String, fields : Fields, tags = Tags.new, timestamp : Time | Nil = nil, sync = false) #

[View source]
def write(point_value : PointValue, sync = false) #

[View source]
def write(sync = false, &) #

[View source]