Doctrine 2 DQL - Select rows where a many-to-many field is empty?

后端 未结 4 727
北恋
北恋 2020-12-15 05:23

I have two classes in this example - DeliveryMethod and Country. They have a many-to-many relationship with each other.

What I want to do is select all DeliveryMetho

4条回答
  •  旧巷少年郎
    2020-12-15 05:47

    Can't join NULL values, IIRC. Apologies for the typo on twitter, should have said "can't".

提交回复
热议问题