You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Mosaic `duckdb` package provides facilities for running DuckDB from Node.js and handling query requests over a network connection.
::: tip
This package runs a server-side DuckDB instance in Node.js. If instead you want to connect to DuckDB-WASM in a browser, skip this package and look at the [WASM connector](/api/connectors#wasmConnector) provided by the `mosaic-core` package.
:::
## DuckDB API
The `DuckDB` class is a Promise-based Node.js API for interfacing with DuckDB,