Postgresql Row To Array Js Includes Function