Skip to content

Commit

Permalink
chore: remove begin_sub_operation
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Dec 20, 2024
1 parent d578352 commit bf45e5d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/es-entity/src/operation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,4 @@ impl<'t> DbOp<'t> {
self.tx.commit().await?;
Ok(())
}

pub async fn begin_sub_operation(&'t mut self) -> Result<DbOp<'t>, sqlx::Error> {
use sqlx::Acquire;

let tx = self.tx.begin().await?;
Ok(Self::new(tx, self.now))
}
}

0 comments on commit bf45e5d

Please sign in to comment.