]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- added a real unit test for sqlsoup
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Nov 2009 19:41:45 +0000 (19:41 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 9 Nov 2009 19:41:45 +0000 (19:41 +0000)
commitba00071e749886f9845c07c9d67d83bbf50d7e20
tree025c2c735bafb89a0541064210a9356cdbe7578d
parent8a282a9b60dabd86bb16b6241055a619d61dc09b
- added a real unit test for sqlsoup
- removed doctest stuff
- redid session docs for sqlsoup
- sqlsoup stays within the transaction of a Session now, is explcitly autocommit=False by default and includes commit()/rollback() methods
- sqlsoup db.<sometable>.update() and delete() now call
query(cls).update() and delete(), respectively.
- sqlsoup now has execute() and connection(), which call upon
the Session methods of those names, ensuring that the bind is
in terms of the SqlSoup object's bind.
CHANGES
doc/build/ormtutorial.rst
doc/build/reference/ext/sqlsoup.rst
doc/build/reference/sqlalchemy/connections.rst
doc/build/session.rst
doc/build/sqlexpression.rst
lib/sqlalchemy/ext/sqlsoup.py
lib/sqlalchemy/orm/session.py
test/ext/test_sqlsoup.py [new file with mode: 0644]