Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

59 linhas
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. # A document can have more than one ArrayRemove field. Since all the ArrayRemove
  4. # fields are removed, the only field in the update is "a".
  5. description: "set: multiple ArrayRemove fields"
  6. set: <
  7. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  8. json_data: "{\"a\": 1, \"b\": [\"ArrayRemove\", 1, 2, 3], \"c\": {\"d\": [\"ArrayRemove\", 4, 5, 6]}}"
  9. request: <
  10. database: "projects/projectID/databases/(default)"
  11. writes: <
  12. update: <
  13. name: "projects/projectID/databases/(default)/documents/C/d"
  14. fields: <
  15. key: "a"
  16. value: <
  17. integer_value: 1
  18. >
  19. >
  20. >
  21. >
  22. writes: <
  23. transform: <
  24. document: "projects/projectID/databases/(default)/documents/C/d"
  25. field_transforms: <
  26. field_path: "b"
  27. remove_all_from_array: <
  28. values: <
  29. integer_value: 1
  30. >
  31. values: <
  32. integer_value: 2
  33. >
  34. values: <
  35. integer_value: 3
  36. >
  37. >
  38. >
  39. field_transforms: <
  40. field_path: "c.d"
  41. remove_all_from_array: <
  42. values: <
  43. integer_value: 4
  44. >
  45. values: <
  46. integer_value: 5
  47. >
  48. values: <
  49. integer_value: 6
  50. >
  51. >
  52. >
  53. >
  54. >
  55. >
  56. >