datasquirel/dist/package-shared/utils/grab-dsql-connection.d.ts
Benjamin Toby 6acf0f2cd6 Updates
2025-07-06 17:00:35 +01:00

25 lines
437 B
TypeScript

import { Connection } from "mariadb";
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): Promise<Connection>;
export {};