Skip to main content
The Deno 2 Release Candidate is here
Learn more
Extremely Popular
Go to Latest
method Client.prototype.transaction
import { Client } from "https://deno.land/x/mysql@v2.11.0/src/client.ts";

Execute a transaction process, and the transaction successfully returns the return value of the transaction process

Type Parameters

optional
T = any

Parameters

transation processor

Returns

Promise<T>