diff options
| author | Adam Johnson <me@adamj.eu> | 2021-01-25 16:16:52 +0000 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2021-01-28 16:02:15 +0100 |
| commit | a271d8c15cb73fde5e78d429b5d0c906eb300750 (patch) | |
| tree | 03b10b140af273f67f63dcfa5fe334bf008a9da9 /scripts | |
| parent | 82e1294602abd9d85fed114380bf81538c8b6f9e (diff) | |
[3.1.x] Modernized custom manager example
Since this example was added 15 years ago in a8ccdd0fcd631e8e928ef20547e1fe3e313dc607, 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.
Backport of 59e503b6708d41a44f2aa320272de3e2ecb5d65c from master
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
