12 lines
320 B
TypeScript
12 lines
320 B
TypeScript
type Param = {
|
|
query: string;
|
|
values?: string[] | object;
|
|
noErrorLogs?: boolean;
|
|
};
|
|
/**
|
|
* # Main DB Handler Function
|
|
* @requires DSQL_DB_CONN - Gobal Variable for Datasquirel Database
|
|
*/
|
|
export default function dbHandler({ query, values, noErrorLogs, }: Param): Promise<any[] | object | null>;
|
|
export {};
|