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 |
Beta Was this translation helpful? Give feedback.
-
I have this query -
last_name
andphone_number
areOption<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.
Beta Was this translation helpful? Give feedback.
All reactions