Skip to content

Commit

Permalink
Update sea-orm-macros/src/derives/from_query_result.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 authored Sep 9, 2023
1 parent 7a3c764 commit f65e151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sea-orm-macros/src/derives/from_query_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn expand_derive_from_query_result(
if *flatten{
quote! { #ident : <#ty as sea_orm::FromQueryResult>::from_query_result(#arg_row, #arg_pre)? }
} else {
quote! { #ident : #arg_row.try_get(#arg_pre, #s)?}
quote! { #ident : #arg_row.try_get(#arg_pre, #s)? }
}
})
.collect();
Expand Down

0 comments on commit f65e151

Please sign in to comment.