blob: a69edfc50d11e7cc49aeac34e4730e104fd59a8a [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.
# If there is an OrderBy clause, the inequality Where clause does not result in a
# new OrderBy clause. We still add a __name__ OrderBy clause
description: "query: cursor method, doc snapshot, inequality where clause, and existing orderBy clause"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
order_by: <
path: <
field: "a"
>
direction: "desc"
>
>
clauses: <
where: <
path: <
field: "a"
>
op: "<"
json_value: "4"
>
>
clauses: <
start_at: <
doc_snapshot: <
path: "projects/projectID/databases/(default)/documents/C/D"
json_data: "{\"a\": 7, \"b\": 8}"
>
>
>
query: <
from: <
collection_id: "C"
>
where: <
field_filter: <
field: <
field_path: "a"
>
op: LESS_THAN
value: <
integer_value: 4
>
>
>
order_by: <
field: <
field_path: "a"
>
direction: DESCENDING
>
order_by: <
field: <
field_path: "__name__"
>
direction: DESCENDING
>
start_at: <
values: <
integer_value: 7
>
values: <
reference_value: "projects/projectID/databases/(default)/documents/C/D"
>
before: true
>
>
>