from quick_orm.core import Database
from sqlalchemy import Column, String

__metaclass__ = Database.DefaultMeta

class User:
    name = Column(String(30))

Database.register()

if __name__ == '__main__':
    db = Database('sqlite://')
    db.create_tables()
    
    user = User(name = 'Hello World')
    db.session.add_then_commit(user)
    
    user = db.session.query(User).get(1)
    print 'My name is', user.name

@@ -238,18 +238,104 @@
 ite://')
+ # database urls: http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls
 %0D%0A
-
     db.c
@@ -350,22 +350,18 @@
 bles()%0D%0A
-    
 %0D%0A
+
     user
@@ -433,14 +433,10 @@
 r)%0D%0A
-    
 %0D%0A
+
     
@@ -473,16 +473,16 @@
 get(1)%0D%0A
+
     prin
@@ -506,10 +506,8 @@
 ser.name
-%0D%0A

Add a link for database urls