You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

60 lines
1.2 KiB

  1. # DO NOT MODIFY. This file was generated by
  2. # github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
  3. # Multiple Where clauses are combined into a composite filter.
  4. description: "query: two Where clauses"
  5. query: <
  6. coll_path: "projects/projectID/databases/(default)/documents/C"
  7. clauses: <
  8. where: <
  9. path: <
  10. field: "a"
  11. >
  12. op: ">="
  13. json_value: "5"
  14. >
  15. >
  16. clauses: <
  17. where: <
  18. path: <
  19. field: "b"
  20. >
  21. op: "<"
  22. json_value: "\"foo\""
  23. >
  24. >
  25. query: <
  26. from: <
  27. collection_id: "C"
  28. >
  29. where: <
  30. composite_filter: <
  31. op: AND
  32. filters: <
  33. field_filter: <
  34. field: <
  35. field_path: "a"
  36. >
  37. op: GREATER_THAN_OR_EQUAL
  38. value: <
  39. integer_value: 5
  40. >
  41. >
  42. >
  43. filters: <
  44. field_filter: <
  45. field: <
  46. field_path: "b"
  47. >
  48. op: LESS_THAN
  49. value: <
  50. string_value: "foo"
  51. >
  52. >
  53. >
  54. >
  55. >
  56. >
  57. >