Closed
Description
I think that this can be added:
impl<'a> std::ops::Deref for Transaction<'a> {
type Target = Client;
fn deref(&self) -> &Self::Target {
self.client
}
}
which would make working with transactions easier and make GenericClient
unnecessary.
That's how rustqlite does it.
Should I create a PR? or is there something that I'm missing?
Metadata
Metadata
Assignees
Labels
No labels