rclone/vendor/cloud.google.com/go/firestore/testdata/query-where-2.textproto

60 lines
1.2 KiB
Text
Raw Normal View History

2018-03-19 15:51:38 +00:00
# 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 Where clauses are combined into a composite filter.
description: "query: two Where clauses"
query: <
coll_path: "projects/projectID/databases/(default)/documents/C"
clauses: <
where: <
path: <
field: "a"
>
op: ">="
json_value: "5"
>
>
clauses: <
where: <
path: <
field: "b"
>
op: "<"
json_value: "\"foo\""
>
>
query: <
from: <
collection_id: "C"
>
where: <
composite_filter: <
op: AND
filters: <
field_filter: <
field: <
field_path: "a"
>
op: GREATER_THAN_OR_EQUAL
value: <
integer_value: 5
>
>
>
filters: <
field_filter: <
field: <
field_path: "b"
>
op: LESS_THAN
value: <
string_value: "foo"
>
>
>
>
>
>
>