Riptide.Mutation.diff
You're seeing just the function
diff
, go back to Riptide.Mutation module for more information.
Takes two maps and returns a mutation that could be applied to turn the the first map into the second.
Examples
iex> Riptide.Mutation.diff(
...> %{"a" => 1},
...> %{"b" => 2}
...> )
%Riptide.Mutation{delete: %{"a" => 1}, merge: %{"b" => 2}}