mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
docs(distinct): tweaks [skip ci]
This commit is contained in:
parent
5a5170a8d2
commit
59e0d5fcb7
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ The `OR` operator works like this:
|
|||
users.where(users[:name].eq('bob').or(users[:age].lt(25)))
|
||||
```
|
||||
|
||||
The `AND` operator behaves similarly. Here is an example of the `DISTINCT` operator, which as of v6 is also chainable:
|
||||
The `AND` operator behaves similarly. Here is an example of the `DISTINCT` operator:
|
||||
|
||||
```ruby
|
||||
posts = Arel::Table.new(:posts)
|
||||
|
|
Loading…
Reference in a new issue