AshArcadic.Edge (AshArcadic v0.1.0)

Copy Markdown View Source

Edge configuration for an ArcadeDB relationship declared in an arcade do … end block. The %AshArcadic.Edge{} struct is the target of the edge DSL entity; AshArcadic.Changes.{CreateEdge,DestroyEdge} read it by name.

multiple? selects the write primitive: false (default) → idempotent MERGE (one edge per endpoint-pair + label); trueCREATE (parallel edges).

Summary

Types

t()

@type t() :: %AshArcadic.Edge{
  __spark_metadata__: term(),
  destination: module(),
  direction: :outgoing | :incoming | :both,
  label: atom(),
  multiple?: boolean(),
  name: atom(),
  properties: [atom()]
}