major-domo-database/app/routers_v3
Cal Corum b0fd1d89ea fix: eliminate N+1 queries in batch POST endpoints (#25)
Replace per-row Team/Player lookups with bulk IN-list queries before
the validation loop in post_transactions, post_results, post_schedules,
and post_batstats. A 50-move batch now uses 2 queries instead of 150.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-17 16:29:58 -05:00
..
stratplay feat: Add group_by=sbaplayer to batting, pitching, and fielding endpoints 2026-02-17 17:42:14 -06:00
__init__.py Initial commit 2023-03-21 16:09:46 -05:00
awards.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
battingstats.py fix: eliminate N+1 queries in batch POST endpoints (#25) 2026-03-17 16:29:58 -05:00
CLAUDE.md docs: Add subdirectory CLAUDE.md files for routers, stratplay, and services 2026-02-17 17:32:25 -06:00
current.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
custom_commands.py fix: replace bare except: with except Exception: (#29) 2026-03-17 16:29:21 -05:00
decisions.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
divisions.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
draftdata.py DB Error Handling 2025-08-20 19:33:40 -05:00
draftlist.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
draftpicks.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
fieldingstats.py Postgres Query Updates 2025-08-25 07:19:13 -05:00
help_commands.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
injuries.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
keepers.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
managers.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
pitchingstats.py fix: remove unused imports in standings.py and pitchingstats.py (#30) 2026-03-17 16:28:25 -05:00
players.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
results.py fix: eliminate N+1 queries in batch POST endpoints (#25) 2026-03-17 16:29:58 -05:00
sbaplayers.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
schedules.py fix: eliminate N+1 queries in batch POST endpoints (#25) 2026-03-17 16:29:58 -05:00
standings.py fix: remove unused imports in standings.py and pitchingstats.py (#30) 2026-03-17 16:28:25 -05:00
stratgame.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
teams.py fix: standardize all collection POST routes to use trailing slash 2026-03-09 19:34:28 -05:00
transactions.py fix: eliminate N+1 queries in batch POST endpoints (#25) 2026-03-17 16:29:58 -05:00
views.py Add Redis Caching 2025-08-27 22:49:37 -05:00