Skip to content

Firestore GET

Gauthier Dandele edited this page Aug 12, 2024 · 1 revision

The Firestore GET node connects to a Cloud Firestore database and fetches data from the specified path.

Below is the list and description of fields to configure for this node:

Database

Select or add a config-node. The config-node is your database on which this node will fetch data from the specified path. Learn more about its role.

Sort Data?

Use Query Constraints to order and limit your data?

Collection

The path to the Collection. You can choose the string option to set the path statically or the msg option to set the path dynamically.

CollectionGroup

The Collection ID to get all documents in the database that are contained in a collection or subcollection with the given collection ID. You can choose the string option to set the path statically or the msg option to set the path dynamically.

Document

The path to the Document. You can choose the string option to set the path statically or the msg option to set the path dynamically.

Pass Through Message?

If a message arrives at the input, pass the message to the output? For example: this node is between an http in node and http response node, to work the http response node needs the msg.res property generated by the http in node. By enabling this option you pass msg.res to the http response node.

Message Properties

Below are the properties of the incoming and outgoing message:

Input

  • constraints: an object containing the constraint(s) to apply to the query.

Output

  • payload: contains your query data from the database.

Read more about message properties.

Next Step