Postgres Select Into Array Variables In Javascript Javatpoint