10
Is there a sea-orm equivalent to findOrCreate? How else would I do this?
(programming.dev)
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Credits
That's true, but also trying to create first has a race condition too. The above code will panic at the unwrap if the record is deleted after the failed insert, and before the select
So, a loop it is....