feat(clickhouse): add ClickHouse support (#463)

This commit is contained in:
Guy Ben-Aharon
2024-12-01 13:31:24 +02:00
committed by GitHub
parent 03772f6b4f
commit 807cd22e0c
19 changed files with 305 additions and 13 deletions

View File

@@ -382,6 +382,7 @@ const generateSQLPrompt = (databaseType: DatabaseType, sqlScript: string) => {
- **General SQLite Constraints**: Remember, \`ALTER TABLE\` in SQLite is limited and cannot add constraints after the table is created.
- **Conditional Logic**: Ensure the script uses SQLite-compatible syntax and does not include unsupported features.
`,
clickhouse: '',
};
const dialectInstruction = dialectInstructionMap[databaseType] ?? '';