aide-axum-sqlx-tx

A drop-in replacement for axum-sqlx-tx that provides an aide compatible re-export.

It is not the original type, but it implements deref and deref-mut, so if you have issues and need the real axum-sqlx-tx::Tx type try using the deref operator: *tx or &*tx or &mut *tx

Features

Example

```rust use aideaxumsqlx_tx::Tx; use sqlx::{Postgres, query};

async fn gethelloworld( mut tx: Tx, ) -> Result { let (res,): (String,) = sqlx::queryas("select 'hello world'") .fetchone(&mut *tx) // deref mut .await.maperr(|err|err.tostring())?; Ok(res) } ```