Postgres Select Ids Into Array In Javascript In Javatpoint