Postgresql Row To Array Js W3schools