**Preserve hand column order when reading players** #86
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
umpire274/bs_scoring#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preserve hand column order when reading players
When a player has different batting and throwing hands (for example
bat = R,throw = L), this query now returnsbatin column 6 andthrowin column 7, butPlayer::from_rowstill interprets column 6 asthrowand column 7 asbat. That makesget_by_id,get_by_team, exports, and player lists silently swap the two values after the row is read back; selectthrow, bathere to match the mapper.Useful? React with 👍 / 👎.
Originally posted by @chatgpt-codex-connector[bot] in https://github.com/umpire274/bs_scoring/pull/85#discussion_r3374763707