View Source Loupe.Ecto.Filter behaviour (Loupe v0.9.0)
Module to implement various filter depending on field type. This is how we build query with Ecto depending on the kind of field we receive
Link to this section Summary
Link to this section Callbacks
@callback apply_bounded_filter(Loupe.Language.Ast.predicate(), Loupe.Ecto.Context.t()) :: Ecto.Query.t()
Link to this section Functions
Access a composite field dynamically
@spec unwrap( Loupe.Language.Ast.literal() | {:list, Loupe.Language.Ast.literal()} | boolean(), Loupe.Ecto.Context.t() ) :: any()
Unwraps literal