summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/ext/sqlsoup.py
diff options
context:
space:
mode:
authorJonathan Ellis <jbellis@gmail.com>2006-11-01 05:28:43 +0000
committerJonathan Ellis <jbellis@gmail.com>2006-11-01 05:28:43 +0000
commitfcedb47e9022ceb18fab68e054c415db933d0b89 (patch)
tree534ae3ecf2ee5fbe4df9ffeba593dae41f4264af /lib/sqlalchemy/ext/sqlsoup.py
parented33944f316d9dfa1f83cc11c160427e89b743ea (diff)
downloadsqlalchemy-fcedb47e9022ceb18fab68e054c415db933d0b89.tar.gz
link to SqlSoup docs on the wiki
Diffstat (limited to 'lib/sqlalchemy/ext/sqlsoup.py')
-rw-r--r--lib/sqlalchemy/ext/sqlsoup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sqlalchemy/ext/sqlsoup.py b/lib/sqlalchemy/ext/sqlsoup.py
index 06c3efd25..d83ecfb59 100644
--- a/lib/sqlalchemy/ext/sqlsoup.py
+++ b/lib/sqlalchemy/ext/sqlsoup.py
@@ -156,8 +156,8 @@ tables or other joins. Here we combine our first join with the books table:
If you join tables that have an identical column name, wrap your join with "with_labels",
to disambiguate columns with their table name:
- >>> db.with_labels(join1).select()
- [MappedUsersLoansJoin(users_name='Joe Student',users_email='student@example.edu',users_password='student',users_classname=None,users_admin=0,loans_book_id=1,loans_user_name='Joe Student',loans_loan_date=datetime.datetime(2006, 7, 12, 0, 0))]
+ >>> db.with_labels(join1).c.keys()
+ ['users_name', 'users_email', 'users_password', 'users_classname', 'users_admin', 'loans_book_id', 'loans_user_name', 'loans_loan_date']
Advanced Use