Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/nessie/deps.ts>MySQLClient#transaction

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
method MySQLClient.prototype.transaction
import { MySQLClient } from "https://deno.land/x/nessie@2.0.10/deps.ts";

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

Type Parameters

optional
T = any

Parameters

processor: TransactionProcessor<T>

transation processor

Returns

Promise<T>