Commit a64f977
fix: Add returnAs=query to status counts findAll for aggregate column access
Wheels findAll returns model objects by default, stripping columns
that aren't model properties. The COUNT(*) aggregate needs a raw
query result to be accessible.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent c631943 commit a64f977
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments