reql-node-shell
Wrapper around RethinkDB JavaScript driver for Node shell
This library load the RethinkDB driver and:
- overwrite
connect
to work without argument (defaultlocalhost:28015
) - add
repl
on a connection - overwrite
run
to behave more friendly in a shell
Note: This library should NOT be used in a node application. This is mostly for debugging.
Note: This library does not block!
Use
> michel@xone:~$ node> var r = undefined> rundefined> var result = rundefined> "test" > result _status: 'ready' _start: Tue Jan 14 2014 10:31:11 GMT- _end: Tue Jan 14 2014 10:31:11 GMT- _data: 'test' > resultstatus'ready'> result0002> resultdata 'test' >