Skip to content

Commit c9e1d9f

Browse files
committed
convert config values to string
1 parent a38b48e commit c9e1d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/DuckDBInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class DuckDBInstance {
1414
const config = duckdb.create_config();
1515
try {
1616
for (const optionName in options) {
17-
const optionValue = options[optionName];
17+
const optionValue = String(options[optionName]);
1818
duckdb.set_config(config, optionName, optionValue);
1919
}
2020
return new DuckDBInstance(await duckdb.open(path, config));

0 commit comments

Comments
 (0)