A function that takes a document snapshot and returns an alternating list of field paths and values to update within that document, optionally followed by a Precondition to enforce on the update.
A function that takes a document snapshot and returns an alternating list of field paths and values to update within that document, optionally followed by a Precondition to enforce on the update.