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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-4Lines changed: 2 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,9 @@ changelog
3
3
4
4
## [unreleased]
5
5
6
-
### added
7
-
6
+
## 0.9.0-alpha.2
8
7
### changed
9
-
10
-
### removed
8
+
- 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.
@@ -304,7 +304,7 @@ pub trait Model where Self: Serialize + DeserializeOwned {
304
304
/// This routine will destroy any indexes found on this model's collection which are not
305
305
/// defined in the response from `Self.indexes()`.
306
306
#[deprecated(since="0.9.0", note="Index management is currently missing in the underlying driver, so this method no longer does anything. We are hoping to re-enable this in a future release.")]
307
-
asyncfnsync(_db:Database) -> Result<()>{
307
+
asyncfnsync(_db:&Database) -> Result<()>{
308
308
// NOTE: blocked by https://jira.mongodb.org/projects/RUST/issues/RUST-166
0 commit comments