提交 531cf056 编写于 作者: R Robin Dupret

Merge pull request #19026 from rousisk/master

Improve wording on find_by note regarding returning only one record [ci skip]
......@@ -1403,8 +1403,9 @@ WHERE people.name = 'John'
LIMIT 1
```
NOTE: Remember that, if `find_by` returns more than one registry, it will take
just the first and ignore the others. Note the `LIMIT 1` statement above.
NOTE: Note that if a query matches multiple records, `find_by` will
fetch only the first one and ignore the others (see the `LIMIT 1`
statement above).
Find or Build a New Object
--------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册