View Source Storex.Diff (storex v0.4.0)

Summary

Functions

Check difference between two arguments.

Functions

Check difference between two arguments.

Storex.Diff.check(%{name: "John"}, %{name: "Adam"})
[%{a: "u", p: [:name], t: "Adam"}]

Result explanation:

a: action
  n - none
  u - update
  d - delete
  i - insert
t: to
p: path