Update README.md
I didn't changed every thing because I was afraid of messy to mush, but on your example of set and push you didn't put that the json must have the "obj".
This commit is contained in:
@ -23,12 +23,12 @@ output: <whatever data was at the path 'foo/bar' in the rtdb database>
|
|||||||
## rtdb-set
|
## rtdb-set
|
||||||
Set data at a path in the rtdb database. Use 'on' snapshot so will fire every time the data at the path changes and so drive flow execution from that point.
|
Set data at a path in the rtdb database. Use 'on' snapshot so will fire every time the data at the path changes and so drive flow execution from that point.
|
||||||
|
|
||||||
input: {payload: {path: 'foo/bar'}, {some: 'object', foo: 17}}
|
input: {payload: {"path": "foo/bar", "obj": {"some": "data", "foo": "17"}}}
|
||||||
|
|
||||||
## rtdb-push
|
## rtdb-push
|
||||||
Pushes the new object onto an array under the path
|
Pushes the new object onto an array under the path
|
||||||
|
|
||||||
input: {payload: {path: 'foo/bar'}, {some: 'object', foo: 17}}
|
input: {payload: {"path": "foo/bar", "obj": {"some": "data", "foo": "17"}}}
|
||||||
|
|
||||||
## rtdb-query
|
## rtdb-query
|
||||||
Set up a reactive query for a path in the rtdb database.
|
Set up a reactive query for a path in the rtdb database.
|
||||||
|
|||||||
Reference in New Issue
Block a user