mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-03 09:29:46 +00:00
Add deletion to create_db
This commit is contained in:
parent
6e4ecbc90c
commit
b018fc432c
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ macro_rules! create_db {
|
||||||
bincode::deserialize(data.as_ref()).unwrap()
|
bincode::deserialize(data.as_ref()).unwrap()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
#[allow(dead_code)]
|
||||||
|
pub fn del(txn: &mut impl DbTxn $(, $arg: $arg_type)*) {
|
||||||
|
txn.del(&$field_name::key($($arg),*))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
)*
|
)*
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue