Replies: 1 comment 4 replies
-
Or maybe that is not possible because Rust.-None is always interpreted as SQL-null |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, it would be super cool, if Diesel's-Filter-method on Table would work with Rust-Option as well. That would make dynamic Filtering much easier.
schema::dogs::filter(name.eq(Some("snoopy")).and(species.eq(None)))
And if None is provided, the specific condition is skipped:
species.eq(None))
Beta Was this translation helpful? Give feedback.
All reactions