Usmantastic
Usmantastic11mo ago

Built-in function

Hi In code, what built-in function would I use to search all entries in a column/key against a value? I am doing entries using a webhook and need to add the code in the parser section of the webhook that would check if the entry is duplicate.
2 Replies
Gaurav Chadha
Gaurav Chadha11mo ago
Hi, if you store the response received form the webhook to the BuildShip's builtin Firestore database, you can use to query/serach all entires against a value using filter. You can explore the Collection Query Node
No description
Usmantastic
Usmantastic11mo ago
Thank you for reaching out Gaurav. I am not using buildship, I have connected my personal account's firestore database to rowy. Secondly, I would like to do the query in code, without the gui, because the code handling the webhook needs to know if the entry is duplicate at the time of row insertion. I will look into buildship. meanwhile, if you could guide me to query the entire column in the webhook code, that would be extra great. I am thinking something like Bool found = Query(key, "value"). Like you have built-in row variable available in the webhook code, i can use that variable to insert new rows.