The mutation context that will be provided to the security function.
Returns the state of the document after the mutation was applied.
Returns the state of the document before the mutation was applied.
Find all affected paths starting from a root path.
doc before - { a: { b: 1, c: 2 }, d: 3 }doc after - { a: { b: 1, c: 3 }, d: 4 }doc.affectedPaths('a') // ['a.c'] Copy
doc before - { a: { b: 1, c: 2 }, d: 3 }doc after - { a: { b: 1, c: 3 }, d: 4 }doc.affectedPaths('a') // ['a.c']
Returns true if the mutation affects the provided path.
Returns the type of the mutation (insert, update, or delete).
Readonly
The mutation context that will be provided to the security function.