AshNeo4j.Error.UnsupportedAtomic exception (AshNeo4j v0.10.1)

Copy Markdown View Source

Returned (never raised) when a changeset.atomics expression can't be rendered into the update Cypher SET (#361). The renderer covers arithmetic (+ - * /), comparisons, if/3 (⇒ CASE), string concat / string_trim (Ash's string cast), attribute refs and scalar literals; an expression using any other Ash function is refused rather than mis-written.

Express the change with supported operations, or perform it outside the data layer.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshNeo4j.Error.UnsupportedAtomic{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  expression: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.AshNeo4j.Error.UnsupportedAtomic without raising it.

Keys

  • :resource
  • :expression