Closed
Description
I try to get owned data from my db:
let player: schema::Player = txn.query_one(schema::Player::unique(player_id))
.map(|row| row.into() ???? row.into_owned() ???? )
How to do this? Do I have to create a new user struct and map the resulting row somehow on to this struct? Is it possible to reuse the schema, def to return an owned player data? Do I have to use the dummy data type?
Metadata
Metadata
Assignees
Labels
No labels