node-red-contrib-couchdb-nodes 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/examples/00-database-management.json +240 -0
- package/examples/{insert-document.json → 01-insert-document.json} +1 -9
- package/examples/{batch-insert.json → 02-batch-insert.json} +1 -9
- package/examples/{basic-query.json → 03-basic-query.json} +1 -9
- package/examples/{delete-document.json → 04-delete-document.json} +0 -7
- package/examples/{get-update-document.json → 05-get-update-document.json} +2 -10
- package/examples/{pagination-example.json → 06-pagination-example.json} +1 -9
- package/package.json +1 -1
- package/examples/database-management.json +0 -247
package/README.md
CHANGED
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "example-db-mgmt-flow",
|
|
4
|
+
"type": "tab",
|
|
5
|
+
"label": "CouchDB Database Management",
|
|
6
|
+
"disabled": false,
|
|
7
|
+
"info": "Example demonstrating database creation, listing, and deletion."
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"id": "inject-create-db",
|
|
11
|
+
"type": "inject",
|
|
12
|
+
"z": "example-db-mgmt-flow",
|
|
13
|
+
"name": "1. Create Database",
|
|
14
|
+
"props": [
|
|
15
|
+
{
|
|
16
|
+
"p": "payload"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"repeat": "",
|
|
20
|
+
"crontab": "",
|
|
21
|
+
"once": false,
|
|
22
|
+
"onceDelay": 0.1,
|
|
23
|
+
"topic": "",
|
|
24
|
+
"payload": "test_database",
|
|
25
|
+
"payloadType": "str",
|
|
26
|
+
"x": 140,
|
|
27
|
+
"y": 80,
|
|
28
|
+
"wires": [
|
|
29
|
+
[
|
|
30
|
+
"couchdb-create-db"
|
|
31
|
+
]
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "couchdb-create-db",
|
|
36
|
+
"type": "couchdb-create-db",
|
|
37
|
+
"z": "example-db-mgmt-flow",
|
|
38
|
+
"name": "Create DB",
|
|
39
|
+
"server": "",
|
|
40
|
+
"dbname": "",
|
|
41
|
+
"x": 340,
|
|
42
|
+
"y": 80,
|
|
43
|
+
"wires": [
|
|
44
|
+
[
|
|
45
|
+
"debug-create-success"
|
|
46
|
+
],
|
|
47
|
+
[
|
|
48
|
+
"debug-create-error"
|
|
49
|
+
]
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "debug-create-success",
|
|
54
|
+
"type": "debug",
|
|
55
|
+
"z": "example-db-mgmt-flow",
|
|
56
|
+
"name": "Created",
|
|
57
|
+
"active": true,
|
|
58
|
+
"tosidebar": true,
|
|
59
|
+
"console": false,
|
|
60
|
+
"tostatus": false,
|
|
61
|
+
"complete": "payload",
|
|
62
|
+
"targetType": "msg",
|
|
63
|
+
"statusVal": "",
|
|
64
|
+
"statusType": "auto",
|
|
65
|
+
"x": 520,
|
|
66
|
+
"y": 60,
|
|
67
|
+
"wires": []
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "debug-create-error",
|
|
71
|
+
"type": "debug",
|
|
72
|
+
"z": "example-db-mgmt-flow",
|
|
73
|
+
"name": "Create Error",
|
|
74
|
+
"active": true,
|
|
75
|
+
"tosidebar": true,
|
|
76
|
+
"console": false,
|
|
77
|
+
"tostatus": false,
|
|
78
|
+
"complete": "error",
|
|
79
|
+
"targetType": "msg",
|
|
80
|
+
"statusVal": "",
|
|
81
|
+
"statusType": "auto",
|
|
82
|
+
"x": 530,
|
|
83
|
+
"y": 100,
|
|
84
|
+
"wires": []
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "inject-list-dbs",
|
|
88
|
+
"type": "inject",
|
|
89
|
+
"z": "example-db-mgmt-flow",
|
|
90
|
+
"name": "2. List Databases",
|
|
91
|
+
"props": [
|
|
92
|
+
{
|
|
93
|
+
"p": "payload"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"repeat": "",
|
|
97
|
+
"crontab": "",
|
|
98
|
+
"once": false,
|
|
99
|
+
"onceDelay": 0.1,
|
|
100
|
+
"topic": "",
|
|
101
|
+
"payload": "",
|
|
102
|
+
"payloadType": "date",
|
|
103
|
+
"x": 140,
|
|
104
|
+
"y": 180,
|
|
105
|
+
"wires": [
|
|
106
|
+
[
|
|
107
|
+
"couchdb-list-dbs"
|
|
108
|
+
]
|
|
109
|
+
]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"id": "couchdb-list-dbs",
|
|
113
|
+
"type": "couchdb-list-dbs",
|
|
114
|
+
"z": "example-db-mgmt-flow",
|
|
115
|
+
"name": "List DBs",
|
|
116
|
+
"server": "",
|
|
117
|
+
"x": 340,
|
|
118
|
+
"y": 180,
|
|
119
|
+
"wires": [
|
|
120
|
+
[
|
|
121
|
+
"debug-list-success"
|
|
122
|
+
],
|
|
123
|
+
[
|
|
124
|
+
"debug-list-error"
|
|
125
|
+
]
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "debug-list-success",
|
|
130
|
+
"type": "debug",
|
|
131
|
+
"z": "example-db-mgmt-flow",
|
|
132
|
+
"name": "Database List",
|
|
133
|
+
"active": true,
|
|
134
|
+
"tosidebar": true,
|
|
135
|
+
"console": false,
|
|
136
|
+
"tostatus": false,
|
|
137
|
+
"complete": "payload",
|
|
138
|
+
"targetType": "msg",
|
|
139
|
+
"statusVal": "",
|
|
140
|
+
"statusType": "auto",
|
|
141
|
+
"x": 530,
|
|
142
|
+
"y": 160,
|
|
143
|
+
"wires": []
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"id": "debug-list-error",
|
|
147
|
+
"type": "debug",
|
|
148
|
+
"z": "example-db-mgmt-flow",
|
|
149
|
+
"name": "List Error",
|
|
150
|
+
"active": true,
|
|
151
|
+
"tosidebar": true,
|
|
152
|
+
"console": false,
|
|
153
|
+
"tostatus": false,
|
|
154
|
+
"complete": "error",
|
|
155
|
+
"targetType": "msg",
|
|
156
|
+
"statusVal": "",
|
|
157
|
+
"statusType": "auto",
|
|
158
|
+
"x": 520,
|
|
159
|
+
"y": 200,
|
|
160
|
+
"wires": []
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "inject-delete-db",
|
|
164
|
+
"type": "inject",
|
|
165
|
+
"z": "example-db-mgmt-flow",
|
|
166
|
+
"name": "3. Delete Database",
|
|
167
|
+
"props": [
|
|
168
|
+
{
|
|
169
|
+
"p": "payload"
|
|
170
|
+
}
|
|
171
|
+
],
|
|
172
|
+
"repeat": "",
|
|
173
|
+
"crontab": "",
|
|
174
|
+
"once": false,
|
|
175
|
+
"onceDelay": 0.1,
|
|
176
|
+
"topic": "",
|
|
177
|
+
"payload": "test_database",
|
|
178
|
+
"payloadType": "str",
|
|
179
|
+
"x": 140,
|
|
180
|
+
"y": 280,
|
|
181
|
+
"wires": [
|
|
182
|
+
[
|
|
183
|
+
"couchdb-delete-db"
|
|
184
|
+
]
|
|
185
|
+
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"id": "couchdb-delete-db",
|
|
189
|
+
"type": "couchdb-delete-db",
|
|
190
|
+
"z": "example-db-mgmt-flow",
|
|
191
|
+
"name": "Delete DB",
|
|
192
|
+
"server": "",
|
|
193
|
+
"dbname": "",
|
|
194
|
+
"confirmDelete": false,
|
|
195
|
+
"x": 340,
|
|
196
|
+
"y": 280,
|
|
197
|
+
"wires": [
|
|
198
|
+
[
|
|
199
|
+
"debug-delete-success"
|
|
200
|
+
],
|
|
201
|
+
[
|
|
202
|
+
"debug-delete-error"
|
|
203
|
+
]
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "debug-delete-success",
|
|
208
|
+
"type": "debug",
|
|
209
|
+
"z": "example-db-mgmt-flow",
|
|
210
|
+
"name": "Deleted",
|
|
211
|
+
"active": true,
|
|
212
|
+
"tosidebar": true,
|
|
213
|
+
"console": false,
|
|
214
|
+
"tostatus": false,
|
|
215
|
+
"complete": "payload",
|
|
216
|
+
"targetType": "msg",
|
|
217
|
+
"statusVal": "",
|
|
218
|
+
"statusType": "auto",
|
|
219
|
+
"x": 520,
|
|
220
|
+
"y": 260,
|
|
221
|
+
"wires": []
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "debug-delete-error",
|
|
225
|
+
"type": "debug",
|
|
226
|
+
"z": "example-db-mgmt-flow",
|
|
227
|
+
"name": "Delete Error",
|
|
228
|
+
"active": true,
|
|
229
|
+
"tosidebar": true,
|
|
230
|
+
"console": false,
|
|
231
|
+
"tostatus": false,
|
|
232
|
+
"complete": "error",
|
|
233
|
+
"targetType": "msg",
|
|
234
|
+
"statusVal": "",
|
|
235
|
+
"statusType": "auto",
|
|
236
|
+
"x": 530,
|
|
237
|
+
"y": 300,
|
|
238
|
+
"wires": []
|
|
239
|
+
}
|
|
240
|
+
]
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"z": "example-insert-flow",
|
|
56
56
|
"name": "Insert into CouchDB",
|
|
57
57
|
"server": "couchdb-server-1",
|
|
58
|
-
"database": "
|
|
58
|
+
"database": "test_database",
|
|
59
59
|
"batch": false,
|
|
60
60
|
"x": 570,
|
|
61
61
|
"y": 100,
|
|
@@ -101,13 +101,5 @@
|
|
|
101
101
|
"x": 800,
|
|
102
102
|
"y": 120,
|
|
103
103
|
"wires": []
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"id": "couchdb-server-1",
|
|
107
|
-
"type": "couchdb-server",
|
|
108
|
-
"hostname": "localhost",
|
|
109
|
-
"port": "5984",
|
|
110
|
-
"username": "",
|
|
111
|
-
"password": ""
|
|
112
104
|
}
|
|
113
105
|
]
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"z": "example-batch-flow",
|
|
93
93
|
"name": "Insert Document",
|
|
94
94
|
"server": "couchdb-server-1",
|
|
95
|
-
"database": "
|
|
95
|
+
"database": "test_database",
|
|
96
96
|
"batch": false,
|
|
97
97
|
"x": 1040,
|
|
98
98
|
"y": 100,
|
|
@@ -184,13 +184,5 @@
|
|
|
184
184
|
"x": 1230,
|
|
185
185
|
"y": 140,
|
|
186
186
|
"wires": []
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
"id": "couchdb-server-1",
|
|
190
|
-
"type": "couchdb-server",
|
|
191
|
-
"hostname": "localhost",
|
|
192
|
-
"port": "5984",
|
|
193
|
-
"username": "",
|
|
194
|
-
"password": ""
|
|
195
187
|
}
|
|
196
188
|
]
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"z": "example-query-flow",
|
|
56
56
|
"name": "Query CouchDB View",
|
|
57
57
|
"server": "couchdb-server-1",
|
|
58
|
-
"database": "
|
|
58
|
+
"database": "test_database",
|
|
59
59
|
"view": "design_doc/view_name",
|
|
60
60
|
"include_docs": true,
|
|
61
61
|
"key": "",
|
|
@@ -106,13 +106,5 @@
|
|
|
106
106
|
"x": 810,
|
|
107
107
|
"y": 120,
|
|
108
108
|
"wires": []
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"id": "couchdb-server-1",
|
|
112
|
-
"type": "couchdb-server",
|
|
113
|
-
"hostname": "localhost",
|
|
114
|
-
"port": "5984",
|
|
115
|
-
"username": "",
|
|
116
|
-
"password": ""
|
|
117
109
|
}
|
|
118
110
|
]
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"z": "example-update-flow",
|
|
61
61
|
"name": "Get Document",
|
|
62
62
|
"server": "couchdb-server-1",
|
|
63
|
-
"database": "
|
|
63
|
+
"database": "test_database",
|
|
64
64
|
"docId": "",
|
|
65
65
|
"x": 510,
|
|
66
66
|
"y": 100,
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"z": "example-update-flow",
|
|
98
98
|
"name": "Update Document",
|
|
99
99
|
"server": "couchdb-server-1",
|
|
100
|
-
"database": "
|
|
100
|
+
"database": "test_database",
|
|
101
101
|
"x": 910,
|
|
102
102
|
"y": 100,
|
|
103
103
|
"wires": [
|
|
@@ -159,13 +159,5 @@
|
|
|
159
159
|
"x": 740,
|
|
160
160
|
"y": 140,
|
|
161
161
|
"wires": []
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"id": "couchdb-server-1",
|
|
165
|
-
"type": "couchdb-server",
|
|
166
|
-
"hostname": "localhost",
|
|
167
|
-
"port": "5984",
|
|
168
|
-
"username": "",
|
|
169
|
-
"password": ""
|
|
170
162
|
}
|
|
171
163
|
]
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"z": "example-pagination-flow",
|
|
106
106
|
"name": "Query Page",
|
|
107
107
|
"server": "couchdb-server-1",
|
|
108
|
-
"database": "
|
|
108
|
+
"database": "test_database",
|
|
109
109
|
"view": "design_doc/all",
|
|
110
110
|
"include_docs": true,
|
|
111
111
|
"key": "",
|
|
@@ -174,13 +174,5 @@
|
|
|
174
174
|
"x": 750,
|
|
175
175
|
"y": 160,
|
|
176
176
|
"wires": []
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
"id": "couchdb-server-1",
|
|
180
|
-
"type": "couchdb-server",
|
|
181
|
-
"hostname": "localhost",
|
|
182
|
-
"port": "5984",
|
|
183
|
-
"username": "",
|
|
184
|
-
"password": ""
|
|
185
177
|
}
|
|
186
178
|
]
|
package/package.json
CHANGED
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "example-db-mgmt-flow",
|
|
4
|
-
"type": "tab",
|
|
5
|
-
"label": "CouchDB Database Management",
|
|
6
|
-
"disabled": false,
|
|
7
|
-
"info": "Example demonstrating database creation, listing, and deletion."
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"id": "inject-create-db",
|
|
11
|
-
"type": "inject",
|
|
12
|
-
"z": "example-db-mgmt-flow",
|
|
13
|
-
"name": "1. Create Database",
|
|
14
|
-
"props": [
|
|
15
|
-
{
|
|
16
|
-
"p": "database",
|
|
17
|
-
"v": "test_database",
|
|
18
|
-
"vt": "str"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"repeat": "",
|
|
22
|
-
"crontab": "",
|
|
23
|
-
"once": false,
|
|
24
|
-
"onceDelay": 0.1,
|
|
25
|
-
"topic": "",
|
|
26
|
-
"x": 140,
|
|
27
|
-
"y": 80,
|
|
28
|
-
"wires": [
|
|
29
|
-
[
|
|
30
|
-
"couchdb-create-db"
|
|
31
|
-
]
|
|
32
|
-
]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"id": "couchdb-create-db",
|
|
36
|
-
"type": "couchdb-create-db",
|
|
37
|
-
"z": "example-db-mgmt-flow",
|
|
38
|
-
"name": "Create DB",
|
|
39
|
-
"server": "couchdb-server-1",
|
|
40
|
-
"database": "test_database",
|
|
41
|
-
"x": 340,
|
|
42
|
-
"y": 80,
|
|
43
|
-
"wires": [
|
|
44
|
-
[
|
|
45
|
-
"debug-create-success"
|
|
46
|
-
],
|
|
47
|
-
[
|
|
48
|
-
"debug-create-error"
|
|
49
|
-
]
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"id": "debug-create-success",
|
|
54
|
-
"type": "debug",
|
|
55
|
-
"z": "example-db-mgmt-flow",
|
|
56
|
-
"name": "Created",
|
|
57
|
-
"active": true,
|
|
58
|
-
"tosidebar": true,
|
|
59
|
-
"console": false,
|
|
60
|
-
"tostatus": false,
|
|
61
|
-
"complete": "payload",
|
|
62
|
-
"targetType": "msg",
|
|
63
|
-
"statusVal": "",
|
|
64
|
-
"statusType": "auto",
|
|
65
|
-
"x": 520,
|
|
66
|
-
"y": 60,
|
|
67
|
-
"wires": []
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"id": "debug-create-error",
|
|
71
|
-
"type": "debug",
|
|
72
|
-
"z": "example-db-mgmt-flow",
|
|
73
|
-
"name": "Create Error",
|
|
74
|
-
"active": true,
|
|
75
|
-
"tosidebar": true,
|
|
76
|
-
"console": false,
|
|
77
|
-
"tostatus": false,
|
|
78
|
-
"complete": "error",
|
|
79
|
-
"targetType": "msg",
|
|
80
|
-
"statusVal": "",
|
|
81
|
-
"statusType": "auto",
|
|
82
|
-
"x": 530,
|
|
83
|
-
"y": 100,
|
|
84
|
-
"wires": []
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"id": "inject-list-dbs",
|
|
88
|
-
"type": "inject",
|
|
89
|
-
"z": "example-db-mgmt-flow",
|
|
90
|
-
"name": "2. List Databases",
|
|
91
|
-
"props": [
|
|
92
|
-
{
|
|
93
|
-
"p": "payload"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"repeat": "",
|
|
97
|
-
"crontab": "",
|
|
98
|
-
"once": false,
|
|
99
|
-
"onceDelay": 0.1,
|
|
100
|
-
"topic": "",
|
|
101
|
-
"payload": "",
|
|
102
|
-
"payloadType": "date",
|
|
103
|
-
"x": 140,
|
|
104
|
-
"y": 180,
|
|
105
|
-
"wires": [
|
|
106
|
-
[
|
|
107
|
-
"couchdb-list-dbs"
|
|
108
|
-
]
|
|
109
|
-
]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"id": "couchdb-list-dbs",
|
|
113
|
-
"type": "couchdb-list-dbs",
|
|
114
|
-
"z": "example-db-mgmt-flow",
|
|
115
|
-
"name": "List DBs",
|
|
116
|
-
"server": "couchdb-server-1",
|
|
117
|
-
"x": 340,
|
|
118
|
-
"y": 180,
|
|
119
|
-
"wires": [
|
|
120
|
-
[
|
|
121
|
-
"debug-list-success"
|
|
122
|
-
],
|
|
123
|
-
[
|
|
124
|
-
"debug-list-error"
|
|
125
|
-
]
|
|
126
|
-
]
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"id": "debug-list-success",
|
|
130
|
-
"type": "debug",
|
|
131
|
-
"z": "example-db-mgmt-flow",
|
|
132
|
-
"name": "Database List",
|
|
133
|
-
"active": true,
|
|
134
|
-
"tosidebar": true,
|
|
135
|
-
"console": false,
|
|
136
|
-
"tostatus": false,
|
|
137
|
-
"complete": "payload",
|
|
138
|
-
"targetType": "msg",
|
|
139
|
-
"statusVal": "",
|
|
140
|
-
"statusType": "auto",
|
|
141
|
-
"x": 530,
|
|
142
|
-
"y": 160,
|
|
143
|
-
"wires": []
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"id": "debug-list-error",
|
|
147
|
-
"type": "debug",
|
|
148
|
-
"z": "example-db-mgmt-flow",
|
|
149
|
-
"name": "List Error",
|
|
150
|
-
"active": true,
|
|
151
|
-
"tosidebar": true,
|
|
152
|
-
"console": false,
|
|
153
|
-
"tostatus": false,
|
|
154
|
-
"complete": "error",
|
|
155
|
-
"targetType": "msg",
|
|
156
|
-
"statusVal": "",
|
|
157
|
-
"statusType": "auto",
|
|
158
|
-
"x": 520,
|
|
159
|
-
"y": 200,
|
|
160
|
-
"wires": []
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"id": "inject-delete-db",
|
|
164
|
-
"type": "inject",
|
|
165
|
-
"z": "example-db-mgmt-flow",
|
|
166
|
-
"name": "3. Delete Database",
|
|
167
|
-
"props": [
|
|
168
|
-
{
|
|
169
|
-
"p": "database",
|
|
170
|
-
"v": "test_database",
|
|
171
|
-
"vt": "str"
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"repeat": "",
|
|
175
|
-
"crontab": "",
|
|
176
|
-
"once": false,
|
|
177
|
-
"onceDelay": 0.1,
|
|
178
|
-
"topic": "",
|
|
179
|
-
"x": 140,
|
|
180
|
-
"y": 280,
|
|
181
|
-
"wires": [
|
|
182
|
-
[
|
|
183
|
-
"couchdb-delete-db"
|
|
184
|
-
]
|
|
185
|
-
]
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"id": "couchdb-delete-db",
|
|
189
|
-
"type": "couchdb-delete-db",
|
|
190
|
-
"z": "example-db-mgmt-flow",
|
|
191
|
-
"name": "Delete DB",
|
|
192
|
-
"server": "couchdb-server-1",
|
|
193
|
-
"database": "test_database",
|
|
194
|
-
"x": 340,
|
|
195
|
-
"y": 280,
|
|
196
|
-
"wires": [
|
|
197
|
-
[
|
|
198
|
-
"debug-delete-success"
|
|
199
|
-
],
|
|
200
|
-
[
|
|
201
|
-
"debug-delete-error"
|
|
202
|
-
]
|
|
203
|
-
]
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"id": "debug-delete-success",
|
|
207
|
-
"type": "debug",
|
|
208
|
-
"z": "example-db-mgmt-flow",
|
|
209
|
-
"name": "Deleted",
|
|
210
|
-
"active": true,
|
|
211
|
-
"tosidebar": true,
|
|
212
|
-
"console": false,
|
|
213
|
-
"tostatus": false,
|
|
214
|
-
"complete": "payload",
|
|
215
|
-
"targetType": "msg",
|
|
216
|
-
"statusVal": "",
|
|
217
|
-
"statusType": "auto",
|
|
218
|
-
"x": 520,
|
|
219
|
-
"y": 260,
|
|
220
|
-
"wires": []
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"id": "debug-delete-error",
|
|
224
|
-
"type": "debug",
|
|
225
|
-
"z": "example-db-mgmt-flow",
|
|
226
|
-
"name": "Delete Error",
|
|
227
|
-
"active": true,
|
|
228
|
-
"tosidebar": true,
|
|
229
|
-
"console": false,
|
|
230
|
-
"tostatus": false,
|
|
231
|
-
"complete": "error",
|
|
232
|
-
"targetType": "msg",
|
|
233
|
-
"statusVal": "",
|
|
234
|
-
"statusType": "auto",
|
|
235
|
-
"x": 530,
|
|
236
|
-
"y": 300,
|
|
237
|
-
"wires": []
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"id": "couchdb-server-1",
|
|
241
|
-
"type": "couchdb-server",
|
|
242
|
-
"hostname": "localhost",
|
|
243
|
-
"port": "5984",
|
|
244
|
-
"username": "",
|
|
245
|
-
"password": ""
|
|
246
|
-
}
|
|
247
|
-
]
|