Arcadic.Result (Arcadic v0.1.0)

Copy Markdown View Source

Normalizes an ArcadeDB command/query response envelope into a list of rows.

Strips @props (serializer noise on projection rows) but KEEPS the record and graph identity keys the data layer needs: @rid, @type, @cat ("v"/"e"), @in, @out (edges only). Probe-verified — spec §15 P4/P5/P15.

Summary

Functions

Extract result, strip @props per row; return {:ok, rows}.

Functions

normalize(body)

@spec normalize(map()) :: {:ok, [map()]}

Extract result, strip @props per row; return {:ok, rows}.