hdx/vendor/cloud.google.com/go/firestore/testdata/query-order.textproto

43 lines
790 B
Plaintext
Raw Normal View History

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# Multiple OrderBy clauses combine.
description: "query: basic OrderBy clauses"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
order_by: <
path: <
field: "b"
>
direction: "asc"
>
>
clauses: <
order_by: <
path: <
field: "a"
>
direction: "desc"
>
>
query: <
from: <
collection_id: "C"
>
order_by: <
field: <
field_path: "b"
>
direction: ASCENDING
>
order_by: <
field: <
field_path: "a"
>
direction: DESCENDING
>
>
>