database-to-interfaces
Version:
create database interfaces to typesscript
8 lines (7 loc) • 310 B
TypeScript
/**
* get the available database modules and return the database handler.
* @param connectionProps - the connection properties to the database
* @param DBModuleToUse - the database module to use (e.g., 'mysql', 'postgresql')
* @returns
*/
export declare function getAvailableModules(): Promise<string[]>;