All Projects → OpenSystemsLab → rethinkdb.nim

OpenSystemsLab / rethinkdb.nim

Licence: MIT License
RethinkDB driver for Nim

Programming Languages

nim
578 projects

Projects that are alternatives of or similar to rethinkdb.nim

jsonpyes
The tool which imports raw JSON to ElasticSearch in one line of commands
Stars: ✭ 67 (+91.43%)
Mutual labels:  multi-threading
sbcli
A REPL for my SBCL needs
Stars: ✭ 68 (+94.29%)
Mutual labels:  repl
safe
C++11 header only RAII guards for mutexes and locks.
Stars: ✭ 119 (+240%)
Mutual labels:  multi-threading
request store rails
📦 Per-request global storage for Rails prepared for multi-threaded apps
Stars: ✭ 78 (+122.86%)
Mutual labels:  multi-threading
MemoryAllocator.KanameShiki
Fast multi-threaded memory allocator
Stars: ✭ 73 (+108.57%)
Mutual labels:  multi-threading
org-babel-eval-in-repl
Send and eval org-mode babel code blocks in various REPLs (therefore it's async)
Stars: ✭ 49 (+40%)
Mutual labels:  repl
ts-c99-compiler
ANSI C 16bit Compiler + NASM Assembler + Intel 8086 / 80186 + X87 emulator written entirely in TypeScript
Stars: ✭ 78 (+122.86%)
Mutual labels:  repl
TensorFlow-Input-Pipeline
TensorFlow Input Pipeline Examples based on multi-thread and FIFOQueue
Stars: ✭ 54 (+54.29%)
Mutual labels:  multi-threading
webhook-server
The express server that we use to handle incoming webhooks from various services.
Stars: ✭ 25 (-28.57%)
Mutual labels:  rethinkdb
retro12
This repo is retired. See http://forthworks.com:8000/
Stars: ✭ 18 (-48.57%)
Mutual labels:  repl
glfwm
GLFW Manager - C++ wrapper with multi-threading
Stars: ✭ 60 (+71.43%)
Mutual labels:  multi-threading
magic-console
Interactive programming for Atom
Stars: ✭ 13 (-62.86%)
Mutual labels:  repl
replete-android
ClojureScript REPL Android app
Stars: ✭ 63 (+80%)
Mutual labels:  repl
jsxt
The collection of Javascript / JScript / VBScript extensions, tools and more
Stars: ✭ 23 (-34.29%)
Mutual labels:  repl
Paraphrase
Multi-core suitable Forth-like language
Stars: ✭ 27 (-22.86%)
Mutual labels:  multi-threading
ptrepl
Run command as REPL with completion(based on prompt_toolkit)
Stars: ✭ 38 (+8.57%)
Mutual labels:  repl
fork-helper
A PHP helper to fork processes and allow multi-threading
Stars: ✭ 69 (+97.14%)
Mutual labels:  multi-threading
solid-playground
Quickly discover what the solid compiler will generate from your JSX template
Stars: ✭ 45 (+28.57%)
Mutual labels:  repl
ts-comint
ts-comint will send the code from Emacs into a Typescript REPL.
Stars: ✭ 28 (-20%)
Mutual labels:  repl
minicpp
A REPL-style development environment for small C++ snippets
Stars: ✭ 46 (+31.43%)
Mutual labels:  repl

RethinkDB driver for Nim

Installation

$ nimble install rethinkdb

Accessing ReQL

r

Initiate new RethinkDB Client

import rethinkdb
var r = newRethinkclient([address = "127.0.0.1",] [port = Port(28015),] [auth = "",] [db = ""])

connect

Create a connection to database server, using infomation from RethinkClient

r.connect()

repl

Set the default connection to make REPL use easier. Allows calling .run() on queries without specifying a connection.

r.repl()
#or
r.connect().repl()

close

Close an open connetion

r.close()

reconnect

Close and reopen a connection

r.reconnect()

use

Change the defalt database on this connection

r.use(db_name)

run

Run a query on a connection, returning a JsonNode.

var r = newRethinkclient()
r.connect().repl()
r.table("test").run()

Manipulating databases

  • dbCreate
  • dbDrop
  • dbList

Manipulating tables

  • tableCreate
  • tableDrop
  • tableList
  • indexCreate
  • indexDrop
  • indexList
  • indexRename
  • indexStatus
  • indexWait
  • changes

Writing data

  • insert
  • update
  • replace
  • delete
  • sync

Selecting data

  • db
  • table
  • get
  • getAll
  • between
  • filter
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].