duckdb-web icon indicating copy to clipboard operation
duckdb-web copied to clipboard

Issue found on page 'Node.js API' when configuring DuckDB instance

Open judgeNotFound opened this issue 1 year ago • 2 comments

Page URL: https://duckdb.org/docs/api/nodejs/overview.html

I am trying to setup a simpel DuckDB database, as described in the page above. When I copy my configuration in, it fails, as the config type is different. Also looking into the definition of the DuckDB Node Constructor, it should not:

Bildschirmfoto 2024-05-06 um 11 35 31

So, the code is working as expected, but the documentation recommends differently.

judgeNotFound avatar May 06 '24 09:05 judgeNotFound

Hi, which code snippet on that page is erroring for you?

Mause avatar May 06 '24 09:05 Mause

This one (under Initializing):

Bildschirmfoto 2024-05-06 um 16 36 12

judgeNotFound avatar May 06 '24 14:05 judgeNotFound