Skip to content

neumino/rethinkdb-driver-development

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rethinkdb-driver-development

Tool to help users create a new driver for RethinkDB. A quick and dirty fork of RethinkDB's python driver.

Run python test.py Specify the host and driver port of your RethinkDB instance Write a query and get back:

  • The message
  • The serialized message
  • The serialized response from the server
  • The response from the server

Current driver used: 1.11

Dependency

Install

git clone [email protected]:neumino/rethinkdb-driver-development
sudo pip install protobuf

Run

python test.py

Example

michel@xone:~/projects/driver_dvpt$ python2 test.py 
Host (default value is 'localhost'):

Driver port (default value is 28015):

Auth key (default value is ''):

Connecting to the server...
Connected.
----------------------------------------
Enter your query (without using .run()):
r.expr(10).add(20)
Query:
[1, [24, [10, 20]], {}]


Response:
{"t":1,"r":[30]}

About

Tool to help users create a new driver for RethinkDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •