diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 3087b6b..2aa257e 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -102,6 +102,10 @@ Of course the main reason you're using a database is that you want to use the fu for row in result: print row['country'], row['c'] +If you are familiar with `SQLAlchemy query expressions `_ you can use them, too:: + + q = session.query(MyClass).filter_by(name = 'some name') + result = db.query(q) Exporting data --------------