How to connect Firestore DB on Javascript query?

Hi everyone!
I wanna use Firebase on Retool Javscript query.
But I don't know about that.
Please explain more.
Thank you!
image

Hey @Petro_Havryliuk! Can you share a bit more about what you are trying to do?

Are you trying to modify FirestoreDB data, or are you looking to actually connect to a FirestoreDB within the JS query?

Not sure what your use case is, but if you want to format data in a JS query and then send it to you Firestore DB, you can use the JS query results in the resource query. Happy to dig in further if you can give some more insight into your use case.

1 Like

As an aside, we do allow running queries against Firebase in javascript if you create a firebase resource and use the raw mode query. Not sure if that helps.

1 Like