module Flux

Defined in:

flux.cr
flux/errors.cr

Constant Summary

VERSION = `shards version`

Class Method Summary

Class Method Detail

def self.configure(&) : Nil #

Sets the root config used by Flux.write and Flux.query and create a global client based on this.


[View source]
def self.query(expression) #

Executes a query on a the globally configured instance.


[View source]
def self.query(expression, &block : QueryResult::Row, Array(QueryResult::Column) -> T) forall T #

Executes a query on a the globally configured instance.


[View source]
def self.write(point) #

Writes a point the default configured bucket.


[View source]