Firebase Firestore

Modified on Wed, 22 Jun 2022 at 10:37 AM

Using Firebase

To access your Firebase account, on any Firebase element you will need to add your apiKey, authDomain, and projectId.

CRUD steps

With Firebase you will be able to connect calls to adddeleteset, or get routes. When you invoke any of these calls, you will also pass data to the collectionPath or documentPath values (with data if you are adding or setting new information)


To make a query to the Firebase Firestore, you can connect a call to query. Query creates a SQL query to send to your Firestore so it has a number of properties. 

This is a string that indicates the collectionPath that you are querying
orderByThis is a string that indicates which column will be sorted
This may take the string "asc" for ascending or "dec" for descending and will adjust the order of the column selected under orderBy accordingly
This determines the starting index and accepts a number. This option is still in progress and might not be functional.
limitThis takes a number of string and will set a limit for the number of entries returned in a query.
whereThis must take an array of objects in the following order:
[{ fieldPath: 'field', opStr: '==', value: 'hello' }, ...]

Here is an example of three variables fieldPathopStr, and value, being turned into 

featured = true

 using the Create Object element, which is then passed to the Create Array object so that it may be accepted as a where clause in Firebase Firestore. 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article