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.
 
 
 

69 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. # When a document snapshot is used, the client appends a __name__ order-by clause
  4. # with the direction of the last order-by clause.
  5. description: "query: cursor methods with a document snapshot, existing orderBy"
  6. query: <
  7. coll_path: "projects/projectID/databases/(default)/documents/C"
  8. clauses: <
  9. order_by: <
  10. path: <
  11. field: "a"
  12. >
  13. direction: "asc"
  14. >
  15. >
  16. clauses: <
  17. order_by: <
  18. path: <
  19. field: "b"
  20. >
  21. direction: "desc"
  22. >
  23. >
  24. clauses: <
  25. start_after: <
  26. doc_snapshot: <
  27. path: "projects/projectID/databases/(default)/documents/C/D"
  28. json_data: "{\"a\": 7, \"b\": 8}"
  29. >
  30. >
  31. >
  32. query: <
  33. from: <
  34. collection_id: "C"
  35. >
  36. order_by: <
  37. field: <
  38. field_path: "a"
  39. >
  40. direction: ASCENDING
  41. >
  42. order_by: <
  43. field: <
  44. field_path: "b"
  45. >
  46. direction: DESCENDING
  47. >
  48. order_by: <
  49. field: <
  50. field_path: "__name__"
  51. >
  52. direction: DESCENDING
  53. >
  54. start_at: <
  55. values: <
  56. integer_value: 7
  57. >
  58. values: <
  59. integer_value: 8
  60. >
  61. values: <
  62. reference_value: "projects/projectID/databases/(default)/documents/C/D"
  63. >
  64. >
  65. >
  66. >