blob: bab8601e8d6c7b0da07547cbf3f18e32c3e23724 [file] [log] [blame]
# 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
# with the direction of the last order-by clause.
description: "query: cursor methods with a document snapshot, existing orderBy"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
order_by: <
path: <
field: "a"
>
direction: "asc"
>
>
clauses: <
order_by: <
path: <
field: "b"
>
direction: "desc"
>
>
clauses: <
start_after: <
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: "a"
>
direction: ASCENDING
>
order_by: <
field: <
field_path: "b"
>
direction: DESCENDING
>
order_by: <
field: <
field_path: "__name__"
>
direction: DESCENDING
>
start_at: <
values: <
integer_value: 7
>
values: <
integer_value: 8
>
values: <
reference_value: "projects/projectID/databases/(default)/documents/C/D"
>
>
>
>