Need a little help to apply the correct Cloud Function for a simple search in a table

Hello, I need to make my first Cloud Function for searching data in my table, I am confused and need help. I already know 80% of the thing. A kindly help would be precious at this time!

I have to use this:
let {var_name} = data.variables → access response in variables

And I don´t know… :cry:

@Doggy-Wild_and_Free

If you are using object variable to store the response data of DB search then use the following format
let {var_name} = data.variables.{db_variable}.records[index].{DB_column_names}

If you are using array variable to store the response data of DB search then use the following format
let {var_name} = data.variables.{db_variable}[index].{DB_column_names}

Hope this helps.

1 Like

@Doggy-Wild_and_Free

I can see that you’ve raised the similar question in this thread. I’ve listed a detailed solution here.
Feel free to follow up there :slight_smile: