zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

commit d7a6a1996116ea2b475f4b7a118b3929abddbf27
parent 4ff13842464691001fbe98354b23828108efabc7
Author: srfsh <dev@srf.sh>
Date:   Fri, 23 Sep 2022 17:09:47 +0300

Zenflows.DB.Filter: fix module paths

Diffstat:
Msrc/zenflows/db/filter.ex | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/zenflows/db/filter.ex b/src/zenflows/db/filter.ex @@ -19,8 +19,8 @@ defmodule Zenflows.DB.Filter do @moduledoc "Filtering helpers for Filter modules." @type params() :: %{atom() => term()} -@type error() :: {:error, Changeset.t()} -@type result() :: {:ok, Query.t()} | error() +@type error() :: {:error, Ecto.Changeset.t()} +@type result() :: {:ok, Ecto.Query.t()} | error() def escape_like(v) do Regex.replace(~r/\\|%|_/, v, &"\\#{&1}")