Skip to content

Model trait methods now use `&db` instead of `db.clone()`

Compare
Choose a tag to compare
@thedodd thedodd released this 03 Sep 00:37
· 12 commits to master since this release

0.9.0-alpha.2

changed

  • All Model trait methods have been updated to take a reference to a mongodb::Database instance, no more db.clone() required. Thanks to @mehmetsefabalik for pointing out that this is now possible with the 1.x version of the driver.