]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- LIMIT/OFFSET of zero is detected within compiler and is counted
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 May 2008 19:55:49 +0000 (19:55 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 13 May 2008 19:55:49 +0000 (19:55 +0000)
commit17684a1b81b63a436fcf4f8426bcd822bdb8d463
treedf476f202c006b5b08ee62a27b2b1cff462c14bf
parent1b6306c69e730eafdae499443efeb83322ce03e8
- LIMIT/OFFSET of zero is detected within compiler and is counted
- Query.__getitem__ now returns list/scalar in all cases, not generative (#1035)
- added Query.slice_() which provides the simple "limit/offset from a positive range" operation,
we can rename this to range_()/section()/_something_private_because_users_shouldnt_do_this() as needed
lib/sqlalchemy/orm/query.py
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/util.py
test/orm/inheritance/query.py
test/orm/query.py