Yes, such a query can be written, so no change to the ORM is required
for this.
However, this isn't the right mailing list for providing direct assistance.
If you need help constructing such a query, please visit one of the
appropriate support venues.
https://docs.djangoproject.com/en/3.1/faq/
Hello,
Imagine this case:
Model A
——> Model B(many to many to A)
-> Model C (many to many to B)
-——->Model D (many to many to C)
To get a query set of objects D which are connected to an object like
A.id=1 , we can do a query like this:
Select * from A natural join B natural join C nat