You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mapping to structs should use optional when specified for optional fields.
Currently this emit an error
#[derive(orientdb_client::derive::FromResult,Debug,PartialEq)]structPerson{name:String,age:Option<i32>}let result:Option<Person> = session
.query("select from OUser where name = ?").positional(&[&"admin"]).fetch_one().unwrap();
but it should work since age is optional
The text was updated successfully, but these errors were encountered:
The mapping to structs should use optional when specified for optional fields.
Currently this emit an error
but it should work since age is optional
The text was updated successfully, but these errors were encountered: