Typescript Select Distinct Postgresql Jdbc Connector