ecto_sanitized_like

Sanitization helpers for SQL LIKE/ILIKE strings.


License
Apache-2.0

Documentation

ecto_sanitized_like

Adds a function to sanitize LIKE / ILIKE strings that may contain wildcards or escapes.

Installation

The package can be installed by adding ecto_sanitized_like to your list of dependencies in mix.exs:

def deps do
  [
    {:ecto_sanitized_like, "~> 0.1.0"}
  ]
end

Documentation can be found at https://hexdocs.pm/ecto_sanitized_like.