@uwdata/mosaic-sql
Version:
SQL query construction and analysis.
13 lines • 659 B
TypeScript
import type { ExprNode } from '../ast/node.js';
import type { ParamLike } from '../types.js';
import { FragmentNode } from '../ast/fragment.js';
export type TemplateValue = ExprNode | ParamLike | string | number | boolean | Date;
/**
* Template tag function for SQL fragments. Interpolated values
* may be strings, other SQL expression objects (such as column
* references), primitive values, or dynamic parameters.
* @param strings Template string constants.
* @param exprs Template expression values.
*/
export declare function sql(strings: TemplateStringsArray, ...exprs: TemplateValue[]): FragmentNode;
//# sourceMappingURL=sql-template-tag.d.ts.map