Skip to content

Operations (e.g. multiply) on columns from a join in select_expression #4670

Answered by weiznich
AdamKuziemski asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for providing these information. I tracked it down now. It's not the diesel_derives version, but the dsl_auto_type version that's relevant. I can reproduce your error with version 0.1.2 or older. Version 0.1.3 fixes this by introducing support for this kind of expressions, so the solution to your problem is to execute cargo update -p dsl_auto_type to update that package. After that it will just work.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@weiznich
Comment options

@AdamKuziemski
Comment options

@weiznich
Comment options

Answer selected by AdamKuziemski
@AdamKuziemski
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants