File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
firebase-firestore/src/proto/google/firestore/v1 Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -48,9 +48,6 @@ message Write {
48
48
string verify = 5 ;
49
49
50
50
// Applies a tranformation to a document.
51
- // At most one `transform` per document is allowed in a given request.
52
- // An `update` cannot follow a `transform` on the same document in a given
53
- // request.
54
51
DocumentTransform transform = 6 ;
55
52
}
56
53
@@ -66,6 +63,13 @@ message Write {
66
63
// The field paths in this mask must not contain a reserved field name.
67
64
DocumentMask update_mask = 3 ;
68
65
66
+ // The transforms to perform after update.
67
+ //
68
+ // This field can be set only when the operation is `update`. If present, this
69
+ // write is equivalent to performing `update` and `transform` to the same
70
+ // document atomically and in order.
71
+ repeated DocumentTransform.FieldTransform update_transforms = 7 ;
72
+
69
73
// An optional precondition on the document.
70
74
//
71
75
// The write will fail if this is set and not met by the target document.
You can’t perform that action at this time.
0 commit comments