class RethinkDB::Connection

Defined in:

rethinkdb/connection.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(host : String = "localhost", port : Int32 = 28015, db : String = "test", user : String = "admin", password : String = "", max_retry_interval : Time::Span = 2.seconds, max_retry_attempts : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def close #

[View source]
def db : String #

[View source]
def host : String #

Connection


[View source]
def max_retry_attempts : Int32? #

[View source]
def max_retry_interval : Time::Span #

Reconnection


[View source]
def port : Int32 #

[View source]
def query_changefeed(term, runopts) #

[View source]
def query_cursor(term, runopts) #

[View source]
def query_datum(term, runopts) #

[View source]
def query_error(term, runopts) #

[View source]
def user : String #

Authentication


[View source]