Arke.Core.Query.Filter (Arke v0.6.2)

Copy Markdown View Source

Base struct of a Filter:

  • logic => :and | :or => the logic of the filter

  • negate => boolean => used to figure out whether the condition is to be denied
  • base_filters (refer to Arke.Core.Query.BaseFilter).

It is used to define a Filter which will be applied on a Query

Summary

Types

t()

@type t() :: %Arke.Core.Query.Filter{
  base_filters: term(),
  logic: term(),
  negate: term()
}