Skip to content

iloveagent57/rethinkdb-python-orm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rethinkdb-python-orm

A super-light RethinkdDB object-mapper for python.

Usage

from models import Model, Attribute
import rethinkdb

connection = rethinkdb.connect()
rethinkdb.table_create('myobjects').run(connection)

class MyObject(Model):
  name = Attribute()
  color = Attribute()
    
with Model.connection(connection):
  my_obj = MyObject(name="Charlie", color="Brown")
  my_obj.save()
  print my_obj

About

A super-light RethinkdDB object-mapper for python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published