duckdb / duckdb-web

DuckDB website and documentation
https://duckdb.org
MIT License
155 stars 293 forks source link

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

Open rrcomtech opened 3 months ago

rrcomtech commented 3 months ago

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.

Mause commented 3 months ago

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

rrcomtech commented 3 months ago

This one (under Initializing):

Bildschirmfoto 2024-05-06 um 16 36 12