UNPKG

typeorm-extension

Version:

A library to create/drop database, simple seeding data sets, ...

11 lines (10 loc) 281 B
import type { DatabaseCreateContext } from './type'; /** * Create database for specified driver in ConnectionOptions. * * @throws DriverError * @throws OptionsError * * @param context */ export declare function createDatabase(context?: DatabaseCreateContext): Promise<any>;