Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
method Client.prototype.transaction
import { Client } from "https://deno.land/x/mysql@v2.10.2/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>