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 #

https://docs.influxdata.com/influxdb/latest/query_language/database_management/#delete-a-database-with-drop-database


[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(series : String, value : Value, tags = Tags.new, timestamp : Time | Nil = nil) #

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

[View source]
def write(point_values : Array(PointValue)) #

[View source]
def write(point_value : PointValue) #

[View source]
def write(&) #

[View source]