Skip to content
Discussion options

You must be logged in to vote

Yes that's not supported by the built-in cast operator. You should likely define your own query DSL extension for that. The code generated by diesel::infix_operator! might be a good starting point for that, although that macro also cannot completely handle this case out of the box.

Replies: 1 comment

Comment options

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