Postgresql String To Array Get Element By Queryselector Attribute