Skip to content

Commit

Permalink
feat:Enable RunQueryResponse.done
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 444879243
  • Loading branch information
Google APIs authored and copybara-github committed Apr 27, 2022
1 parent a0d4c5c commit c4b98bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions google/firestore/v1/firestore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,15 @@ message RunQueryResponse {
// The number of results that have been skipped due to an offset between
// the last response and the current response.
int32 skipped_results = 4;

// The continuation mode for the query. If present, it indicates the current
// query response stream has finished. This can be set with or without a
// `document` present, but when set, no more results are returned.
oneof continuation_selector {
// If present, Firestore has completely finished the request and no more
// documents will be returned.
bool done = 6;
}
}

// The request for [Firestore.PartitionQuery][google.firestore.v1.Firestore.PartitionQuery].
Expand Down

0 comments on commit c4b98bf

Please sign in to comment.