query_elf v0.2.0 QueryElf.Plugin behaviour View Source
A behaviour to be followed when creating plugins that extends the query builders functionality.
Link to this section Summary
Callbacks
Takes the query, the builder, and the options given to the build_query
function build the query
as arguments. Should return the modified query.
Link to this section Callbacks
Link to this callback
build_query(arg1, module, arg3)
View Sourcebuild_query(Ecto.Query.t(), module(), QueryElf.options()) :: Ecto.Query.t()
Takes the query, the builder, and the options given to the build_query
function build the query
as arguments. Should return the modified query.