transfer.sh/vendor/cloud.google.com/go/firestore/testdata/update-arrayremove-with-st.textproto
2019-03-17 20:19:56 +01:00

12 lines
522 B
Text

# DO NOT MODIFY. This file was generated by
# github.com/GoogleCloudPlatform/google-cloud-common/testing/firestore/cmd/generate-firestore-tests/generate-firestore-tests.go.
# The ServerTimestamp sentinel must be the value of a field. It may not appear in
# an ArrayUnion.
description: "update: The ServerTimestamp sentinel cannot be in an ArrayUnion"
update: <
doc_ref_path: "projects/projectID/databases/(default)/documents/C/d"
json_data: "{\"a\": [\"ArrayRemove\", 1, \"ServerTimestamp\", 3]}"
is_error: true
>