Postgresql Row To Array Js Practice And Solving