SELECT COUNT(*) FROM "messages" WHERE NOT (3 = ANY (recipient_ids))
Zawsze możesz zanegować WHERE (condition)
z WHERE NOT (condition)
SELECT COUNT(*) FROM "messages" WHERE NOT (3 = ANY (recipient_ids))
Zawsze możesz zanegować WHERE (condition)
z WHERE NOT (condition)