cotton

SQL Database Toolkit for Deno

https://github.com/rahmanfadhil/cotton
import { MysqlAdapter } from "./mysql.ts";
import { mysqlOptions } from "../testutils.ts";

Deno.test("MysqlAdapter: should connect to database and disconnect to database", async () => {
  const adapter = new MysqlAdapter(mysqlOptions);
  await adapter.connect();
  await adapter.disconnect();
});