Database
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
The Database
node allows to create, read, update and delete objects on our managed instance of Firestore.
CASE: Collection / Add
Document data: Receives an Object
with the data to add to the collection. Learn more on firestore.collection.add.
CASE: Collection / Get
This operation has no parameters. Learn more on firestore.collection.add.
CASE: Document / Get
Document id: Receives an `Object
` with the document id to retrieve. Learn more on firestore.document.get.
CASE: Document / Update
Document id: Receives an Object
with the document id to update. Learn more on firestore.document.update.
Document data: Receives an Object
with the data to update to the document. Learn more on firestore.collection.add.
CASE: Document / Set
Document id: Receives an Object
with the document id to set. Learn more on firestore.document.set.
Document data: Receives an Object
with the data to set to the document. Learn more on firestore.document.set.
CASE: Document / Delete
Document id: Receives an Object
with the document id to delete. Learn more on firestore.document.delete.
Environment variables:
firestore: Requires Project Id, Client Email and Private Key to be set.
CASE: Collection / Add
Out: Returns an Object
with the added data. Learn more on firestore.collection.add.
CASE: Collection / Get
Out: Returns an Object
with the retrieved data. Learn more on firestore.collection.add.
CASE: Document / Get
Out: Returns an Object
with the retrieved data. Learn more on firestore.document.get.
CASE: Document / Update
Out: Returns an Object
with the update write result. Learn more on firestore.writeResult.
CASE: Document / Set
Out: Returns an Object
with the set write result. Learn more on firestore.writeResult.
CASE: Document / Delete
Out: Returns an Object
with the delete write result. Learn more on firestore.writeResult.
Retrieve a document from the database.
Request (Get) ➡ Database (Get) ➡ Response (200)
Update a document from the database.
Request (Post) ➡ Database (Post) ➡ Response (200)