We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 198cfbb commit a0fef0cCopy full SHA for a0fef0c
src/duckdb.mjs
@@ -118,6 +118,9 @@ export class DuckDBClient {
118
119
static async of(sources = {}, config = {}) {
120
const db = await createDuckDB();
121
+ if (config.query?.castTimestampToDate === undefined) {
122
+ config = {...config, query: {...config.query, castTimestampToDate: true}};
123
+ }
124
await db.open(config);
125
await Promise.all(
126
Object.entries(sources).map(async ([name, source]) => {
0 commit comments