hdx/vendor/cloud.google.com/go/firestore/testdata/query-cursor-docsnap.textproto

35 lines
883 B
Plaintext
Raw Normal View History

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# When a document snapshot is used, the client appends a __name__ order-by clause.
description: "query: cursor methods with a document snapshot"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
start_at: <
doc_snapshot: <
path: "projects/projectID/databases/(default)/documents/C/D"
json_data: "{\"a\": 7, \"b\": 8}"
>
>
>
query: <
from: <
collection_id: "C"
>
order_by: <
field: <
field_path: "__name__"
>
direction: ASCENDING
>
start_at: <
values: <
reference_value: "projects/projectID/databases/(default)/documents/C/D"
>
before: true
>
>
>