Typescript Select Distinct Postgresql Vs Db25