Hey - I am trying to do a
Bulk insert records - but I am unable to see this mentioned in the retool docs anywhere!!
I do a bit of transformation before attempting to insert. One of the user inputs is a multiselect, hence I need to unpack it into single rows for the db.
My code and transformer is
When I Run this I am faced with the good old, uninformative error of
records.map is not a function. I have tried different return types in my transformer. My datatypes are 100% correct for the table I am inserting into.
Any help would be great.