Skip to content

Commit

Permalink
Revert "fix: Add BulkWriter (#1051)"
Browse files Browse the repository at this point in the history
This reverts commit 8c52d47.
  • Loading branch information
Brian Chen authored Apr 28, 2020
1 parent 8c52d47 commit 56dd8fb
Show file tree
Hide file tree
Showing 80 changed files with 1,477 additions and 3,191 deletions.
81 changes: 43 additions & 38 deletions dev/conformance/conformance-tests/create-all-transforms.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,45 +20,50 @@
},
"currentDocument": {
"exists": false
},
"updateTransforms": [
{
"fieldPath": "b",
"setToServerValue": "REQUEST_TIME"
},
{
"fieldPath": "c",
"appendMissingElements": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"fieldPath": "d",
"removeAllFromArray": {
"values": [
{
"integerValue": "4"
},
{
"integerValue": "5"
},
{
"integerValue": "6"
}
]
}
},
{
"transform": {
"document": "projects/projectID/databases/(default)/documents/C/d",
"fieldTransforms": [
{
"fieldPath": "b",
"setToServerValue": "REQUEST_TIME"
},
{
"fieldPath": "c",
"appendMissingElements": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"fieldPath": "d",
"removeAllFromArray": {
"values": [
{
"integerValue": "4"
},
{
"integerValue": "5"
},
{
"integerValue": "6"
}
]
}
}
}
]
]
}
}
]
}
Expand Down
73 changes: 39 additions & 34 deletions dev/conformance/conformance-tests/create-arrayremove-multi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,46 @@
},
"currentDocument": {
"exists": false
},
"updateTransforms": [
{
"fieldPath": "b",
"removeAllFromArray": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"fieldPath": "c.d",
"removeAllFromArray": {
"values": [
{
"integerValue": "4"
},
{
"integerValue": "5"
},
{
"integerValue": "6"
}
]
}
},
{
"transform": {
"document": "projects/projectID/databases/(default)/documents/C/d",
"fieldTransforms": [
{
"fieldPath": "b",
"removeAllFromArray": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"fieldPath": "c.d",
"removeAllFromArray": {
"values": [
{
"integerValue": "4"
},
{
"integerValue": "5"
},
{
"integerValue": "6"
}
]
}
}
}
]
]
}
}
]
}
Expand Down
41 changes: 23 additions & 18 deletions dev/conformance/conformance-tests/create-arrayremove-nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,30 @@
},
"currentDocument": {
"exists": false
},
"updateTransforms": [
{
"fieldPath": "b.c",
"removeAllFromArray": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"transform": {
"document": "projects/projectID/databases/(default)/documents/C/d",
"fieldTransforms": [
{
"fieldPath": "b.c",
"removeAllFromArray": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
}
}
]
]
}
}
]
}
Expand Down
41 changes: 23 additions & 18 deletions dev/conformance/conformance-tests/create-arrayremove.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,30 @@
},
"currentDocument": {
"exists": false
},
"updateTransforms": [
{
"fieldPath": "b",
"removeAllFromArray": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"transform": {
"document": "projects/projectID/databases/(default)/documents/C/d",
"fieldTransforms": [
{
"fieldPath": "b",
"removeAllFromArray": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
}
}
]
]
}
}
]
}
Expand Down
73 changes: 39 additions & 34 deletions dev/conformance/conformance-tests/create-arrayunion-multi.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,46 @@
},
"currentDocument": {
"exists": false
},
"updateTransforms": [
{
"fieldPath": "b",
"appendMissingElements": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"fieldPath": "c.d",
"appendMissingElements": {
"values": [
{
"integerValue": "4"
},
{
"integerValue": "5"
},
{
"integerValue": "6"
}
]
}
},
{
"transform": {
"document": "projects/projectID/databases/(default)/documents/C/d",
"fieldTransforms": [
{
"fieldPath": "b",
"appendMissingElements": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"fieldPath": "c.d",
"appendMissingElements": {
"values": [
{
"integerValue": "4"
},
{
"integerValue": "5"
},
{
"integerValue": "6"
}
]
}
}
}
]
]
}
}
]
}
Expand Down
41 changes: 23 additions & 18 deletions dev/conformance/conformance-tests/create-arrayunion-nested.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,30 @@
},
"currentDocument": {
"exists": false
},
"updateTransforms": [
{
"fieldPath": "b.c",
"appendMissingElements": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
},
{
"transform": {
"document": "projects/projectID/databases/(default)/documents/C/d",
"fieldTransforms": [
{
"fieldPath": "b.c",
"appendMissingElements": {
"values": [
{
"integerValue": "1"
},
{
"integerValue": "2"
},
{
"integerValue": "3"
}
]
}
}
}
]
]
}
}
]
}
Expand Down
Loading

0 comments on commit 56dd8fb

Please sign in to comment.