From: Jonathan Ellis Date: Sun, 23 Jul 2006 04:04:22 +0000 (+0000) Subject: fix outdated link into SA docs for Query objects X-Git-Tag: rel_0_2_7~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3538be64d22e84d59d25e21f3a9e5260e230574e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git fix outdated link into SA docs for Query objects --- diff --git a/lib/sqlalchemy/ext/sqlsoup.py b/lib/sqlalchemy/ext/sqlsoup.py index f8e20a95d3..58f922e014 100644 --- a/lib/sqlalchemy/ext/sqlsoup.py +++ b/lib/sqlalchemy/ext/sqlsoup.py @@ -20,7 +20,7 @@ Creating a SqlSoup gateway is just like creating an SqlAlchemy engine: or, you can re-use an existing metadata: >>> db = SqlSoup(BoundMetaData(e)) -You can specify a schema within the database for your SqlSoup: +You can optionally specify a schema within the database for your SqlSoup: # >>> db.schema = myschemaname @@ -46,9 +46,9 @@ select by a key or other field: >>> db.users.selectone_by(name='Bhargan Basepair') MappedUsers(name='Bhargan Basepair',email='basepair@example.edu',password='basepair',classname=None,admin=1) -All the SqlAlchemy mapper select variants (select, select_by, selectone, selectone_by, selectfirst, selectfirst_by) +All the SqlAlchemy Query select variants (select, select_by, selectone, selectone_by, selectfirst, selectfirst_by) are available. See the SqlAlchemy documentation for details: -http://www.sqlalchemy.org/docs/sqlconstruction.myt +http://www.sqlalchemy.org/docs/datamapping.myt#datamapping_query Modifying objects