We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9faee50 commit b1648a4Copy full SHA for b1648a4
lib/ecto_function.ex
@@ -51,7 +51,7 @@ defmodule Ecto.Function do
51
macro that will handle such case.
52
53
defmacro extract(from, field) do
54
- query do: fragment("extract(? FROM ?)", field, from)
+ quote do: fragment("extract(? FROM ?)", field, from)
55
end
56
57
This case probably will never be supported in this library and you should
0 commit comments