Skip to content

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 7, 2025

We were relying on the implicit column order in many places, which can lead to subtle bugs. The Selectable trait ensures that fields are filled according to their corresponding column name.

This should unblock us from being able to use column_sorting = name with diesel (see #12044 (comment))

We were relying on the implicit column order in many places, which can lead to subtle bugs. The `Selectable` trait ensures that fields are filled according to their corresponding column name.
@Turbo87 Turbo87 added the C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear label Oct 7, 2025
@Turbo87 Turbo87 merged commit 449a716 into rust-lang:main Oct 7, 2025
10 checks passed
@Turbo87 Turbo87 deleted the select-returning branch October 7, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants