thedodd / wither

An ODM for MongoDB built on the official MongoDB Rust driver.
https://docs.rs/wither
Other
324 stars 40 forks source link

Update Model trait to use `&db` instead of `db.clone()`. #60

Closed thedodd closed 3 years ago

thedodd commented 3 years ago

Thanks to @mehmetsefabalik for pointing out that this is now possible in the 1.x version of the driver. Cheers!

closes #57