rawsql-ts
Version:
[beta]High-performance SQL parser and AST analyzer written in TypeScript. Provides fast parsing and advanced transformation capabilities.
27 lines • 744 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.SqlDialectConfiguration = exports.SqlComponent = void 0;
class SqlComponent {
constructor() {
this.comments = null;
}
getKind() {
return this.constructor.kind;
}
accept(visitor) {
return visitor.visit(this);
}
toSqlString(formatter) {
return this.accept(formatter);
}
}
exports.SqlComponent = SqlComponent;
class SqlDialectConfiguration {
constructor() {
this.parameterSymbol = ":";
this.identifierEscape = { start: '"', end: '"' };
this.exportComment = true;
}
}
exports.SqlDialectConfiguration = SqlDialectConfiguration;
//# sourceMappingURL=SqlComponent.js.map
;