mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 16:00:38 +00:00
10 lines
237 B
TypeScript
10 lines
237 B
TypeScript
export type SqlStatement = {
|
|
query(): Promise<any>;
|
|
};
|
|
|
|
export interface SqlTemplateFunction {
|
|
(strings: TemplateStringsArray, ...values: any[]): SqlStatement;
|
|
}
|
|
|
|
export declare function datatable(name: string): SqlTemplateFunction;
|