Undefined function fragment/2

:wave:

This may be a newbie question, sorry about that, but i can’t figure it out.

No need for apologies. I assume it is because you need to use the fragment inside a Query. Can you show the entire function?

Here is an example

from p in Post,
 where: is_nil(p.published_at) and
        fragment("lower(?)", p.title) == ^title

from Ecto.Query — Ecto v3.14.0