1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

wrong SQL statement

This commit is contained in:
Akira Matsuda 2011-03-06 03:29:23 +09:00
parent 9092052cb0
commit 22faa2c86d

View file

@ -420,7 +420,7 @@ Client.limit(5).offset(30)
will return instead a maximum of 5 clients beginning with the 31st. The SQL looks like:
<sql>
SELECT * FROM clients LIMIT 5, 30
SELECT * FROM clients LIMIT 5 OFFSET 30
</sql>
h3. Group