Skip to main content
Module

x/typeorm/src/index.ts>ConnectionManager#get

Forked from https://github.com/typeorm/typeorm
Latest
method ConnectionManager.prototype.get
Re-export
import { ConnectionManager } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Gets registered connection with the given name. If connection name is not given then it will get a default connection. Throws error if connection with the given name was not found.

Parameters

optional
name: string = [UNSUPPORTED]

Returns

Connection