Skip to content

Porting a complex query to 2.0.0 #2782

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

You must be logged in to vote

As a blind guess I would say you need to change package​::​dsl​::​pn to package​::​dsl​::​pn.nullable() as this column coming in via a left join. This implies that you need to change the corresponding field to an option. This was accepted by diesel 1.x, because of a bug.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ensc
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