25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

36 satır
1.1 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 ServerTimestamp value can occur at any depth. In this case, the transform
  4. # applies to the field path "b.c". Since "c" is removed from the update, "b"
  5. # becomes empty, so it is also removed from the update.
  6. description: "set: nested ServerTimestamp field"
  7. set: <
  8. doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
  9. json_data: "{\"a\": 1, \"b\": {\"c\": \"ServerTimestamp\"}}"
  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. set_to_server_value: REQUEST_TIME
  29. >
  30. >
  31. >
  32. >
  33. >