提交 35cc3284 编写于 作者: Y Yves Senn

doc, API example on how to use `Model#exists?` with multiple IDs. [ci skip]

Refs #13658
上级 8ad16120
......@@ -195,6 +195,7 @@ def last!
# Person.exists?(5)
# Person.exists?('5')
# Person.exists?(['name LIKE ?', "%#{query}%"])
# Person.exists?(id: [1, 4, 8])
# Person.exists?(name: 'David')
# Person.exists?(false)
# Person.exists?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册