25 lines
447 B
TypeScript
25 lines
447 B
TypeScript
import { ServerlessMysql } from "serverless-mysql";
|
|
type Param = {
|
|
/**
|
|
* Read Only?
|
|
*/
|
|
ro?: boolean;
|
|
/**
|
|
* Full Access?
|
|
*/
|
|
fa?: boolean;
|
|
/**
|
|
* No Database Connection
|
|
*/
|
|
noDb?: boolean;
|
|
/**
|
|
* Is this a local connection?
|
|
*/
|
|
local?: boolean;
|
|
};
|
|
/**
|
|
* # Grab General CONNECTION for DSQL
|
|
*/
|
|
export default function grabDSQLConnection(param?: Param): ServerlessMysql;
|
|
export {};
|