|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- # 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"
- >
- >
- >
- >
|