Query
select *
from inboxes
where find_in_set ('6',inboxes.to);
Above query i am using for accessing record from my table 'inboxes' having one of the column 'to' values like (2,4,6,7) string separated by commas. I am using find_in_set function in pg but it shows me error with below hint.
Hint: No function matches the given name and argument types. You might need to add explicit type casts.