Skip to content

DannehSC/luvit-reql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luvit ReQL

Support

For support, please join the discord support server.

Connecting

To open a connection with luvit-reql you can do the following example.
Caution. If ran outside a coroutine, a callback function MUST be supplied on reql.connect

local luvitReQL = require('luvit-reql')
local connection = luvitReQL.connect(options, callback)

Options

Setting Default Type
address 127.0.0.1 string
port 28015 number
user admin string
password string
db test string
reconnect false boolean
reusable false boolean
debug false boolean

Callback

The callback must be a function and will be called with the connection after the driver has successfully connected to RethinkDB

  • Only called for Async Mode (reql.connect not called in a coroutine); ignored for Sync Mode (reql.connect called in a coroutine)

Raw Options

local options = {
    address = '127.0.0.1',
    port = 28015,
    user = 'admin',
    password = '',
    db = 'test',
    reconnect = false,
    reusable = false,
    debug = false
}

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages