Postgresql Check If Column Contains String Js Functions