Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

46 rindas
1.3 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. # An ArrayRemove value can occur at any depth. In this case, the transform applies
  4. # to the field path "b.c". Since "c" is removed from the update, "b" becomes
  5. # empty, so it is also removed from the update.
  6. description: "set: nested ArrayRemove field"
  7. set: <
  8. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  9. json_data: "{\"a\": 1, \"b\": {\"c\": [\"ArrayRemove\", 1, 2, 3]}}"
  10. request: <
  11. database: "projects/projectID/databases/(default)"
  12. writes: <
  13. update: <
  14. name: "projects/projectID/databases/(default)/documents/C/d"
  15. fields: <
  16. key: "a"
  17. value: <
  18. integer_value: 1
  19. >
  20. >
  21. >
  22. >
  23. writes: <
  24. transform: <
  25. document: "projects/projectID/databases/(default)/documents/C/d"
  26. field_transforms: <
  27. field_path: "b.c"
  28. remove_all_from_array: <
  29. values: <
  30. integer_value: 1
  31. >
  32. values: <
  33. integer_value: 2
  34. >
  35. values: <
  36. integer_value: 3
  37. >
  38. >
  39. >
  40. >
  41. >
  42. >
  43. >