fix
This commit is contained in:
parent
d830e677ba
commit
1e9efe4c12
1 changed files with 1 additions and 1 deletions
|
@ -298,7 +298,7 @@ pub trait Model:
|
|||
fn change(self) -> Self::ChangeBuilder {
|
||||
#[cfg(feature = "cache")]
|
||||
{
|
||||
mongod::cache_write!().invalidate(Self::collection_name(), self.id());
|
||||
cache_write!().invalidate(Self::collection_name(), self.id());
|
||||
}
|
||||
|
||||
self.change_builder()
|
||||
|
|
Loading…
Add table
Reference in a new issue