-
-
Notifications
You must be signed in to change notification settings - Fork 692
support exclude column #1261
Copy link
Copy link
Closed
Description
Motivation
The data table has 20 fields, but I only want to query 19 of them. Sea-orm does not seem to support field exclusion at present. It is too troublesome to call .column() 19 times
Proposed Solutions
add select api
fn column_exclude<C>(mut self, col: C) -> Self
where
C: ColumnTrait,
{
// code...
self
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done