Very Popular
Latest
method Client.prototype.transaction
import { Client } from "https://dotland.deno.dev/x/mysql@v2.12.1/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>