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.
 
 
 

73 lines
1.5 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. # If there is an OrderBy clause, the inequality Where clause does not result in a
  4. # new OrderBy clause. We still add a __name__ OrderBy clause
  5. description: "query: cursor method, doc snapshot, inequality where clause, and existing orderBy clause"
  6. query: <
  7. coll_path: "projects/projectID/databases/(default)/documents/C"
  8. clauses: <
  9. order_by: <
  10. path: <
  11. field: "a"
  12. >
  13. direction: "desc"
  14. >
  15. >
  16. clauses: <
  17. where: <
  18. path: <
  19. field: "a"
  20. >
  21. op: "<"
  22. json_value: "4"
  23. >
  24. >
  25. clauses: <
  26. start_at: <
  27. doc_snapshot: <
  28. path: "projects/projectID/databases/(default)/documents/C/D"
  29. json_data: "{\"a\": 7, \"b\": 8}"
  30. >
  31. >
  32. >
  33. query: <
  34. from: <
  35. collection_id: "C"
  36. >
  37. where: <
  38. field_filter: <
  39. field: <
  40. field_path: "a"
  41. >
  42. op: LESS_THAN
  43. value: <
  44. integer_value: 4
  45. >
  46. >
  47. >
  48. order_by: <
  49. field: <
  50. field_path: "a"
  51. >
  52. direction: DESCENDING
  53. >
  54. order_by: <
  55. field: <
  56. field_path: "__name__"
  57. >
  58. direction: DESCENDING
  59. >
  60. start_at: <
  61. values: <
  62. integer_value: 7
  63. >
  64. values: <
  65. reference_value: "projects/projectID/databases/(default)/documents/C/D"
  66. >
  67. before: true
  68. >
  69. >
  70. >