Today I learned that the first() accessor in Django ORM triggers a new query roundtrip with LIMIT 1, based on the original QuerySet.
Before I thought it just accesses the existing result set.
Today I learned that the first() accessor in Django ORM triggers a new query roundtrip with LIMIT 1, based on the original QuerySet.
Before I thought it just accesses the existing result set.