I have an array of array of values that I make using .map():
let my data = [ [ "ted", 20 ], [ "jon", 30 ], [ "bob", 25 ] ]
And I am creating a sql statement in postgres which needs to end up with:
values (("ted", 20),("jon", 30),("bob", 25))
Is there an easy way to put this into postgres. I can change it to just text in the .map() method, but I would like to keep it as an usable array.