View Source Arke.Core.Query.LinkFilter (Arke v1.1.33)

Base struct of a LinkFilter:

  • unit => %Arke.Core.{arke_struct}{} => the arke_struct of the unit which we want to filter on. See Arke.Struct
  • depth => integer => how many results we want to have at max
  • direction => "child" | "parent" => the direction the query will use to search,

  • type => the name of the connection we want to look at

It is used to define a common filter struct which will be applied on an arke_link Query

Link to this section Summary

Link to this section Types

@type t() :: %Arke.Core.Query.LinkFilter{
  depth: term(),
  direction: term(),
  type: term(),
  unit: term()
}