From fcedb47e9022ceb18fab68e054c415db933d0b89 Mon Sep 17 00:00:00 2001 From: Jonathan Ellis Date: Wed, 1 Nov 2006 05:28:43 +0000 Subject: link to SqlSoup docs on the wiki --- doc/build/content/plugins.txt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'doc') diff --git a/doc/build/content/plugins.txt b/doc/build/content/plugins.txt index 565a3aea0..c5b094e54 100644 --- a/doc/build/content/plugins.txt +++ b/doc/build/content/plugins.txt @@ -430,13 +430,11 @@ SqlSoup creates mapped classes on the fly from tables, which are automatically r >>> from sqlalchemy.ext.sqlsoup import SqlSoup >>> soup = SqlSoup('sqlite:///') - >>> users = soup.users.select() - >>> users.sort() - >>> users - [Class_Users(name='Bhargan Basepair',email='basepair@example.edu',password='basepair',classname=None,admin=1), - Class_Users(name='Joe Student',email='student@example.edu',password='student',classname=None,admin=0)] + >>> db.users.select(order_by=[db.users.c.name]) + [MappedUsers(name='Bhargan Basepair',email='basepair@example.edu',password='basepair',classname=None,admin=1), + MappedUsers(name='Joe Student',email='student@example.edu',password='student',classname=None,admin=0)] -Read more about SqlSoup on [Jonathan Ellis' Blog](http://spyced.blogspot.com/2006/04/introducing-sqlsoup.html). +Full SqlSoup documentation is on the [SQLAlchemy Wiki](http://www.sqlalchemy.org/trac/wiki/SqlSoup). ### ProxyEngine -- cgit v1.2.1