mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Add deletion to create_db
This commit is contained in:
@@ -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),*))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
)*
|
)*
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user