class RethinkDB::RemoteConnection

Defined in:

driver/remote_connection.cr

Constant Summary

V0_1 = 1063369270_u32
V0_2 = 1915781601_u32
V0_3 = 1601562686_u32
V0_4 = 1074539808_u32
V1_0 = 885177795_u32

Constructors

Instance Method Summary

Instance methods inherited from class RethinkDB::Connection

authorize(user : String, password : String) authorize, close close, run(term : ReQL::Term::Type, runopts : RunOpts) : Datum | Cursor run, server : JSON::Any server, start start, use(db_name : String) use

Instance methods inherited from class Object

!=(other : RethinkDB::DSL::R) !=, %(other : RethinkDB::DSL::R) %, &(other : RethinkDB::DSL::R) &, *(other : RethinkDB::DSL::R) *, +(other : RethinkDB::DSL::R) +, -(other : RethinkDB::DSL::R) -, /(other : RethinkDB::DSL::R) /, <(other : RethinkDB::DSL::R) <, <=(other : RethinkDB::DSL::R) <=, ==(other : RethinkDB::DSL::R) ==, >(other : RethinkDB::DSL::R) >, >=(other : RethinkDB::DSL::R) >=, |(other : RethinkDB::DSL::R) |

Constructor Detail

def self.new(host : String, port : Int) #

[View source]

Instance Method Detail

def authorize(user : String, password : String) #

TODO Proper error handling


[View source]
def close #

[View source]

[View source]
def server : JSON::Any #

[View source]
def start #

[View source]
def use(db_name : String) #

[View source]