Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-rychlewski committed Oct 8, 2024
1 parent 22d40d3 commit e9c2efc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ecto/query/api.ex
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,8 @@ defmodule Ecto.Query.API do
and `Ecto.Query.join/5`.
The first argument is a list of maps representing the values of the constant table.
Each entry in the list must have exactly the same fields or an error is raised.
An error is raised if the list is empty or if every map does not have exactly the
same fields.
The second argument is a map of types corresponding to the fields in the first argument.
Each field must be given a type or an error is raised. Any type that can be specified in
Expand Down

0 comments on commit e9c2efc

Please sign in to comment.