@uwdata/mosaic-sql
Version:
SQL query construction and analysis.
20 lines • 710 B
TypeScript
import { ExprNode } from './node.js';
/**
* A SQL AST node made up of disjoint fragments that are combined to form
* a coherent expression. Along with verbatim content, this class serves
* as an "escape hatch" for handling more unstructured SQL content.
*/
export declare class FragmentNode extends ExprNode {
/** The consecutive parts making up the fragment. */
readonly spans: ExprNode[];
/**
* Instantiate a fragment node with arbitrary content.
* @param spans The consecutive parts making up the fragment.
*/
constructor(spans: ExprNode[]);
/**
* Generate a SQL query string for this node.
*/
toString(): string;
}
//# sourceMappingURL=fragment.d.ts.map