You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-12-06 22:40:58 +03:00
storage: document all the repository traits and methods
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
|
||||
use tracing::Span;
|
||||
|
||||
/// An extension trait for [`sqlx::Execute`] that records the SQL statement as
|
||||
/// `db.statement` in a tracing span
|
||||
pub trait ExecuteExt<'q, DB>: Sized {
|
||||
/// Records the statement as `db.statement` in the current span
|
||||
fn traced(self) -> Self {
|
||||
|
||||
Reference in New Issue
Block a user