UNPKG

orbitdbconnector

Version:

Database connection provider based on Typeorm with a bunch of tweak to be able to connect to a DB dynamically with or without entities plus perf gains.

9 lines (8 loc) 260 B
import { DataSource, EntitySchema } from 'typeorm'; export declare type EntityClassOrSchema = () => void | EntitySchema; export declare const ODConnectionArray: { name: string; con: DataSource; database: string; tableName: string; }[];