MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / select_as

Method select_as

src/entity/column.rs:1073–1078  ·  view source on GitHub ↗
(&self, expr: Expr)

Source from the content-addressed store, hash-verified

1071 }
1072
1073 fn select_as(&self, expr: Expr) -> SimpleExpr {
1074 match self {
1075 Self::Two => expr.cast_as("integer"),
1076 _ => self.select_enum_as(expr),
1077 }
1078 }
1079 }
1080
1081 #[derive(Copy, Clone, Debug, EnumIter, DerivePrimaryKey)]

Callers 13

prepare_select_colFunction · 0.45
into_column_as_exprMethod · 0.45
column_listMethod · 0.45
find_also_linkedMethod · 0.45
find_with_linkedMethod · 0.45
columnMethod · 0.45
execMethod · 0.45

Calls 1

select_enum_asMethod · 0.80

Tested by 1