django/docs/topics/db
Adam Johnson 59e503b670 Modernized custom manager example
Since this example was added 15 years ago in a8ccdd0fcd, the ORM has gained the ability to do the `COUNT(*)` related query, so do it with the ORM to avoid misleading users that raw SQL is only supported from manager methods.
2021-01-28 15:59:39 +01:00
..
examples
aggregation.txt
index.txt
instrumentation.txt
managers.txt Modernized custom manager example 2021-01-28 15:59:39 +01:00
models.txt
multi-db.txt
optimization.txt Changed "Don't overuse count() or exists()" example to Python. 2021-01-27 20:24:27 +01:00
queries.txt
search.txt
sql.txt
tablespaces.txt
transactions.txt