I have to make a query to see if the code of a group is in the permissions to see the field.
SELECT *
FROM callcenter.pausa
WHERE habilitado = 1
AND permissao_ver::varchar ilike '%1%'
ORDER BY pausa ASC
Result:
{26,9,10,7,19,2,21,11,17,14,15,6,8,25,24,32,27,28,22,23,13,12,16}
This array does not have the number 1 but the same one returns data to me because there are other numbers with the digit 1, I need it to verify that it really has number 1.