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

x/cotton/src/connect.ts>connect

SQL Database Toolkit for Deno
Latest
function connect
import { connect } from "https://deno.land/x/cotton@v0.7.5/src/connect.ts";

Connect to database and automatically chose the driver

Connect to database and automatically chose the driver

Parameters

options: ConnectionConfig

Connection options

Connect to database and automatically chose the driver

Parameters

filePath: string

Path to the database configuration file (default: "ormconfig.json")