fix(sql): preserve empty raw placeholders

This commit is contained in:
李子凡 authored and GitHub committed 2026-08-28 12:36:37 +08:00
1 parent d4245f0d58
commit d3a97164aa
3 files changed
+15 -2

No files matched your search

@@ -36,7 +36,7 @@ const MIXED_VALUES: Record<string, SqlParameterInput> = {
empty_value: { kind: "boolean", value: "" },
};
const RAW_VALUES = Object.fromEntries(Object.entries(MIXED_VALUES).map(([key, input]) => [key, { ...input, kind: "raw" as const }]));
const RAW_SQL = "SELECT alpha beta, 42, NULL, current_date, NULL, alpha beta";
const RAW_SQL = "SELECT alpha beta, 42, NULL, current_date, ${empty_value}, alpha beta";
const mountedApps: App[] = [];