import { MySQLClient } from "https://dotland.deno.dev/x/nessie@2.0.11/deps.ts";
MySQL client
Methods
private
createConnection(): Promise<PoolConnection>transaction<T = any>(processor: TransactionProcessor<T>): Promise<T>
Execute a transaction process, and the transaction successfully returns the return value of the transaction process
useConnection<T>(fn: (conn: Connection) => Promise<T>)