[Django]-Django .."join" query?

4👍

If you’re using models, the select_related method will return the object for any foreign keys you have set up (up to a limit you specify) within that model.

1👍

👤bryan

-10👍

SQL Join queries are a hack because SQL doesn’t have objects or navigation among objects.

Objects don’t need “joins”. Just access the related objects.

👤S.Lott

Leave a comment