pub trait AsStatementRef {
// Required method
fn as_stmt_ref(&mut self) -> StatementRef<'_>;
}
Expand description
Allows us to be generic over the ownership type (mutably borrowed or owned) of a statement
Required Methods§
Sourcefn as_stmt_ref(&mut self) -> StatementRef<'_>
fn as_stmt_ref(&mut self) -> StatementRef<'_>
Get an exclusive reference to the underlying statement handle. This method is used to implement other more higher level methods on top of it. It is not intended to be called by users of this crate directly, yet it may serve as an escape hatch for low level use cases.