Postgresql Convert Array To String Typescript Compiler