diff --git a/lib/functions/ilike.ex b/lib/functions/ilike.ex index 82e7cf0..8fa403d 100644 --- a/lib/functions/ilike.ex +++ b/lib/functions/ilike.ex @@ -3,7 +3,7 @@ defmodule AshPostgres.Functions.ILike do Maps to the builtin postgres function `ilike`. """ - use Ash.Query.Function, name: :ilike + use Ash.Query.Function, name: :ilike, predicate?: true def args, do: [[:string, :string]] end diff --git a/lib/functions/like.ex b/lib/functions/like.ex index bfd2bbd..8b2d51b 100644 --- a/lib/functions/like.ex +++ b/lib/functions/like.ex @@ -3,7 +3,7 @@ defmodule AshPostgres.Functions.Like do Maps to the builtin postgres function `like`. """ - use Ash.Query.Function, name: :like + use Ash.Query.Function, name: :like, predicate?: true def args, do: [[:string, :string]] end