0.0.9 • Published 7 years ago

rethinkdb-client v0.0.9

Weekly downloads
3
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago