Read data
Intro
This node is used to read a document from a collection based on its document_id
We recommend you read about Koxy Database.
How this node works
This node will get a collection ID and a document ID and get data from your database based on the collection and the document ID you give it.
This node will save the document data as a response that can be accessed from other nodes using the koxy.res.{NODE_NAME}
syntax. if the document does not exist the node will save an empty array by default.
Node properties
name: node names should be unique and can't be changed.
Collection: the collection ID that you want to get the document from.
document_id: the document ID to get.
Next: the trigger that the node should call after getting data from the database. click on the
next input
to get a list of available triggers.
Dynamic variables support
You can use Dynamic variables in the following properties:
- document_id.