major-domo-database/app
Cal Corum e311de93aa fix: eliminate N+1 queries in get_custom_commands (#26)
Expand the JOIN SELECT to include all creator fields
(created_at, total_commands, active_commands) and build the
CustomCommandCreatorModel directly from joined row data instead of
issuing a separate SELECT per command. Reduces 26 queries to 2 for
a full 25-command page.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 22:51:13 -05:00
..
routers_v3 fix: eliminate N+1 queries in get_custom_commands (#26) 2026-04-07 22:51:13 -05:00
services fix: invalidate cache after PlayerService write operations (#32) 2026-03-17 16:28:07 -05:00
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
db_engine.py fix: align CustomCommandCreator.discord_id model with BIGINT column (#78) 2026-04-07 22:48:55 -05:00
dependencies.py Merge branch 'main' into fix/remove-hardcoded-webhook 2026-04-08 02:24:10 +00:00
main.py fix: replace manual db.close() calls with middleware-based connection management (#71) 2026-04-07 21:30:36 -05:00