easy-mssql
Version:
This is a simple and easy to use mssql library for node.js
27 lines (26 loc) • 721 B
TypeScript
interface ProcedureInfo {
name: string;
type: string;
date: Date;
}
interface ProcedureResult {
status: number;
message: string;
data: any[] | null;
}
interface ProcedureReference {
[key: string]: any;
}
/**
* All functions in the procedure are defined in this class.
*
* @param name - The name of the procedure to be added to the procedure
* @returns Object containing procedure methods
*/
export declare function Procedure(name?: string): {
Execute: (referance?: ProcedureReference) => Promise<ProcedureResult>;
Info: () => Promise<ProcedureInfo | null>;
AllInfo: () => Promise<ProcedureInfo[] | null>;
SimpleOutput: () => Promise<Record<string, string>>;
};
export {};