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:
parent
9092052cb0
commit
22faa2c86d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue