hdx/vendor/cloud.google.com/go/firestore/testdata/query-cursor-vals-docid.textproto
Derek McQuay 59af8fc84f
initial commit
Signed-off-by: Derek McQuay <derekmcquay@gmail.com>
2018-04-10 19:17:26 -07:00

51 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.
# Cursor values corresponding to a __name__ field take the document path relative
# to the query's collection.
description: "query: cursor methods with __name__"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
order_by: <
path: <
field: "__name__"
>
direction: "asc"
>
>
clauses: <
start_after: <
json_values: "\"D1\""
>
>
clauses: <
end_before: <
json_values: "\"D2\""
>
>
query: <
from: <
collection_id: "C"
>
order_by: <
field: <
field_path: "__name__"
>
direction: ASCENDING
>
start_at: <
values: <
reference_value: "projects/projectID/databases/(default)/documents/C/D1"
>
>
end_at: <
values: <
reference_value: "projects/projectID/databases/(default)/documents/C/D2"
>
before: true
>
>
>