Trait mas_storage_pg::ExecuteExt
source · pub trait ExecuteExt<'q, DB>: Sized {
// Required method
fn record(self, span: &Span) -> Self;
// Provided method
fn traced(self) -> Self { ... }
}
Expand description
An extension trait for sqlx::Execute
that records the SQL statement as
db.query.text
in a tracing span
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.