View Source ArangoXEcto.View.Link (ArangoX Ecto v2.0.1)
Defines the structure of a link
This follows the format of the link properties defined in ArangoDB. For more information check out the ArangoDB docs.
Example
%ArangoXEcto.View.Link{
  includeAllFields: true,
  fields: %{
    name: %ArangoXEcto.View.Link{
      analyzers: [:text_en]
    }
  }
}
    Summary
Types
Functions
Converts to a map for api call
This will convert any structs into maps in a deeply nested link definition.
Validates a link
This checks the types and strucute of a provided link struct.
If a link is invalid for any reason this will return false. Using this allows for validation before sending to the DB.