Exd v0.1.26 Exd.Query.Rewriter.Rule behaviour View Source

Behaviour for rewriter rules

Link to this section Summary

Callbacks

Rewrites value and optionally the query based on rule

Link to this section Callbacks

Link to this callback rewrite(arg0, any, arg2) View Source
rewrite(binary() | term(), any(), Exd.Query.t()) :: {any(), Exd.Query.t()}

Rewrites value and optionally the query based on rule