2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 01:57:10 +00:00
restic/vendor/cloud.google.com/go/firestore/testdata/query-cursor-docsnap-where-eq.textproto
2018-03-30 11:41:12 +02:00

54 lines
1.1 KiB
Plaintext

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# A Where clause using equality doesn't change the implicit orderBy clauses.
description: "query: cursor methods with a document snapshot and an equality where clause"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
where: <
path: <
field: "a"
>
op: "=="
json_value: "3"
>
>
clauses: <
end_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: EQUAL
value: <
integer_value: 3
>
>
>
order_by: <
field: <
field_path: "__name__"
>
direction: ASCENDING
>
end_at: <
values: <
reference_value: "projects/projectID/databases/(default)/documents/C/D"
>
>
>
>