]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
note support for LIMIT in firebird and mssql
authorJonathan Ellis <jbellis@gmail.com>
Wed, 24 Jan 2007 00:13:45 +0000 (00:13 +0000)
committerJonathan Ellis <jbellis@gmail.com>
Wed, 24 Jan 2007 00:13:45 +0000 (00:13 +0000)
doc/build/content/sqlconstruction.txt

index 507f97ebf1b802d3e1e39f840b426e4f3180b48b..213456220b6a5ed28380845be7013d6c2db55eeb 100644 (file)
@@ -426,7 +426,7 @@ These are specified as keyword arguments:
     {sql}c = users.select(limit=10, offset=20).execute()
     SELECT users.user_id, users.user_name, users.password FROM users LIMIT 10 OFFSET 20
         
-The Oracle driver does not support LIMIT and OFFSET directly, but instead wraps the generated query into a subquery and uses the "rownum" variable to control the rows selected (this is somewhat experimental).
+The Oracle driver does not support LIMIT and OFFSET directly, but instead wraps the generated query into a subquery and uses the "rownum" variable to control the rows selected (this is somewhat experimental).  Similarly, the Firebird and MSSQL drivers convert LIMIT into queries using FIRST and TOP, respectively.
 
 ### Inner and Outer Joins {@name=join}