A simplified object relational model written in Python.
from maroon import Model, IntField, connect
#connect to the database
connect(db_name='example_db')
#make a model
class SimpleModel(Model):
someint = IntField('someint')
# create an object
s_m = SimpleModel()
s_m.someint = 23
s_m.save()
# retrieval
si = SimpleModel.someint
results = SimpleModel.find(si > 19)
print si.someint
That's it for now.