Skip to content

Commit

Permalink
Quality types
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Mar 8, 2025
1 parent b5ac4f4 commit 4c7bcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sea-orm-macros/src/derives/partial_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ impl DerivePartialModel {
&format_ident!("{}", field.to_upper_camel_case())
};
let col_value = if let Some(alias) = alias {
quote!(Expr::col((sea_orm::sea_query::Alias::new(#alias), <#entity as sea_orm::EntityTrait>::Column:: #col_name)))
quote!(sea_orm::sea_query::Expr::col((sea_orm::sea_query::Alias::new(#alias), <#entity as sea_orm::EntityTrait>::Column:: #col_name)))
} else {
quote!( <#entity as sea_orm::EntityTrait>::Column:: #col_name)
};
Expand Down

0 comments on commit 4c7bcde

Please sign in to comment.