Arke.Core.Query.BaseFilter (Arke v0.1.3)

Base struct of a BaseFilter:

  • parameter => %Arke.Core.Parameter.ParameterType => refer to Arke.Core.Parameter
  • operator => refer to operators
  • value => any => the value that the query will search for
  • negate => boolean => used to figure out whether the condition is to be denied

It is used to keep the same logic structure across all the Filter

Link to this section Summary

Link to this section Types

@type t() :: %Arke.Core.Query.BaseFilter{
  negate: term(),
  operator: term(),
  parameter: term(),
  value: term()
}