feat/stratplay-sbaplayer #17

Merged
cal merged 2 commits from feat/stratplay-sbaplayer into main 2026-02-17 23:56:42 +00:00
Owner
No description provided.
cal added 2 commits 2026-02-17 23:48:55 +00:00
Enables cross-season stat queries by MLB player identity (SbaPlayer) without
requiring callers to look up every season-specific Player ID first. Filters
via Player subquery since StratPlay has no direct FK to SbaPlayer.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: Add group_by=sbaplayer to batting, pitching, and fielding endpoints
All checks were successful
Build Docker Image / build (pull_request) Successful in 2m32s
86f8495284
Enables career-total aggregation by real-world player identity (SbaPlayer)
across all seasons. JOINs StratPlay → Player to access Player.sbaplayer FK,
groups by that FK, and excludes players with null sbaplayer. Also refactors
stratplay router from single file into package and adds integration tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cal merged commit f9594a5c86 into main 2026-02-17 23:56:42 +00:00
cal deleted branch feat/stratplay-sbaplayer 2026-02-17 23:56:43 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cal/major-domo-database#17
No description provided.