Skip to content

Commit

Permalink
Fix typo in Ecto.Query.API documentation (#3612)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nehhaket authored Apr 12, 2021
1 parent 151c9ee commit 4cafe0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ecto/query/api.ex
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ defmodule Ecto.Query.API do
A product matches in the above example if a line item was created since the provided date where the customer purchased
at least 10 units.
Both `any` and `all` must be given a subquery as an argument, and theyu must be used on the right hand side of a comparison.
Both `any` and `all` must be given a subquery as an argument, and they must be used on the right hand side of a comparison.
Both can be used with every comparison operator: `==`, `!=`, `>`, `>=`, `<`, `<=`.
"""
def any(subquery), do: doc! [subquery]
Expand All @@ -179,7 +179,7 @@ defmodule Ecto.Query.API do
The above example matches all the posts which are tied for being the most visited.
Both `any` and `all` must be given a subquery as an argument, and theyu must be used on the right hand side of a comparison.
Both `any` and `all` must be given a subquery as an argument, and they must be used on the right hand side of a comparison.
Both can be used with every comparison operator: `==`, `!=`, `>`, `>=`, `<`, `<=`.
"""
def all(subquery), do: doc! [subquery]
Expand Down

0 comments on commit 4cafe0a

Please sign in to comment.