import { ConnectionPool } from "https://deno.land/x/mysql@v2.11.0/src/pool.ts";
Constructors
new
ConnectionPool(maxSize: number, creator: () => Promise<PoolConnection>)Methods
close()
Close the pool and all connections in the pool.
After closing, pop() will throw an error, push() will close the connection immediately.
pop(): Promise<PoolConnection>
push(conn: PoolConnection)
remove(conn: PoolConnection)