SELECT COUNT(*) FROM "messages" WHERE NOT (3 = ANY (recipient_ids))
Siempre puedes negar WHERE (condition)
con WHERE NOT (condition)
SELECT COUNT(*) FROM "messages" WHERE NOT (3 = ANY (recipient_ids))
Siempre puedes negar WHERE (condition)
con WHERE NOT (condition)