Replies: 1 comment
|
SeaQuery should support this. This looks like a type inference issue in your code. If .values([
self.account_id.into(),
self.email.into(),
self.first_name.into(),
self.last_name.into(),
self.phone_number.into(),
].map(SimpleExpr::Value))?But I think, SeaQuery's API could be improved. It could accept something like |
0 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.
I have this query -
last_nameandphone_numberareOption<String>I get this error
Is there a way to actually do this, so that optional values can be used?
The example seem quite lacking in this front. And there's no clear discussion on this since this unresolved thread.
All reactions