File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/firestore/src/protos/firestore Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ option java_package = "com.google.firestore.proto";
33
33
option objc_class_prefix = "FSTPB" ;
34
34
option php_namespace = "Firestore\\Proto" ;
35
35
36
- // Encodes a query saved in the bundle.
36
+ // Describes a query saved in the bundle.
37
37
message BundledQuery {
38
38
// The parent resource name.
39
39
string parent = 1 ;
@@ -96,8 +96,9 @@ message BundleMetadata {
96
96
// A Firestore bundle is a length-prefixed stream of JSON representations of
97
97
// `BundleElement`.
98
98
// Only one `BundleMetadata` is expected, and it should be the first element.
99
- // The named queries follow after `metadata`. Every `document_metadata` is
100
- // immediately followed by a `document`.
99
+ // The named queries follow after `metadata`. If a document exists when the
100
+ // bundle is built, `document_metadata` is immediately followed by the
101
+ // `document`, otherwise `document_metadata` will present by itself.
101
102
message BundleElement {
102
103
oneof element_type {
103
104
BundleMetadata metadata = 1 ;
You can’t perform that action at this time.
0 commit comments