Skip to main content
The Deno 2 Release Candidate is here
Learn more
Very Popular
Go to Latest
method ConnectionPool.prototype.close
import { ConnectionPool } from "https://deno.land/x/mysql@v2.12.0/src/pool.ts";

Close the pool and all connections in the pool.

After closing, pop() will throw an error, push() will close the connection immediately.