0.0.9 • Published 9 years ago

rethinkdb-client v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

rethinkdb-client

Mysql client/Mongo shell like Nodejs command line client for Rethinkdb

###Installation

npm install -g rethinkdb-client

Options

Usage: rethinkdb-client [options]

  Options:

    -h, --help                 output usage information
    -V, --version              output the version number
    -u, --username <username>  database username
    -p, --password <password>  database user password
    -h, --host <host>          database hostname
    -P, --port <port>          database port number
    -d, --database <database>  database name
    -s, --ssl <cert>           SSL certification file

How to use

# rethinkdb-client --host localhost
rethinkdb [test]>

Change default database

rethinkdb [test]> use abc
rethinkdb [abc]>

Execute ReQL

rethinkdb [test]> r.dbList()
['rethinkdb', 'test']
rethinkdb [test]>

Execute ReQL in multiline (Using backslash)

rethinkdb[test]> r.db('test')\
.tableList()
[]
rethinkdb [test]>

Quit the command prompt

rethinkdb [test]> quit
#

OR

rethinkdb [test]> exit
#
0.0.9

9 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago