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.
 
 
 

65 lines
1.4 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. # A Where clause with an inequality results in an OrderBy clause on that clause's
  4. # path, if there are no other OrderBy clauses.
  5. description: "query: cursor method with a document snapshot and an inequality where clause"
  6. query: <
  7. coll_path: "projects/projectID/databases/(default)/documents/C"
  8. clauses: <
  9. where: <
  10. path: <
  11. field: "a"
  12. >
  13. op: "<="
  14. json_value: "3"
  15. >
  16. >
  17. clauses: <
  18. end_before: <
  19. doc_snapshot: <
  20. path: "projects/projectID/databases/(default)/documents/C/D"
  21. json_data: "{\"a\": 7, \"b\": 8}"
  22. >
  23. >
  24. >
  25. query: <
  26. from: <
  27. collection_id: "C"
  28. >
  29. where: <
  30. field_filter: <
  31. field: <
  32. field_path: "a"
  33. >
  34. op: LESS_THAN_OR_EQUAL
  35. value: <
  36. integer_value: 3
  37. >
  38. >
  39. >
  40. order_by: <
  41. field: <
  42. field_path: "a"
  43. >
  44. direction: ASCENDING
  45. >
  46. order_by: <
  47. field: <
  48. field_path: "__name__"
  49. >
  50. direction: ASCENDING
  51. >
  52. end_at: <
  53. values: <
  54. integer_value: 7
  55. >
  56. values: <
  57. reference_value: "projects/projectID/databases/(default)/documents/C/D"
  58. >
  59. before: true
  60. >
  61. >
  62. >