Skip to content

Commit b1648a4

Browse files
docs: exception documentation had an understandable typo (#7)
1 parent 9faee50 commit b1648a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto_function.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ defmodule Ecto.Function do
5151
macro that will handle such case.
5252
5353
defmacro extract(from, field) do
54-
query do: fragment("extract(? FROM ?)", field, from)
54+
quote do: fragment("extract(? FROM ?)", field, from)
5555
end
5656
5757
This case probably will never be supported in this library and you should

0 commit comments

Comments
 (0)