Category "dql"

Doctrine ORM: Excluding Records Based on Values of Nested Relationships

Quick Overview Hey guys! I'm working on an app that has the ability for an Order to contain multiple OrderStatus which then have a relationship with the Status

Convert NOT IN (SELECT ...) from SQL to DQL

I've got a query which works in SQL :SELECT * FROM SOCIETY WHERE id NOT IN (SELECT society_id FROM activity) I'm trying to convert this into a DQL so I tried l