Begin a transaction.
(&mut self)
| 288 | |
| 289 | /// Begin a transaction. |
| 290 | pub async fn begin(&mut self) -> NodeDbResult<()> { |
| 291 | let resp = self.send(OpCode::Begin, TextFields::default()).await?; |
| 292 | check_error(resp) |
| 293 | } |
| 294 | |
| 295 | /// Commit the current transaction. |
| 296 | pub async fn commit(&mut self) -> NodeDbResult<()> { |
nothing calls this directly
no test coverage detected