Skip to content

Commit

Permalink
docs: Update connectors docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jheer committed Jan 30, 2024
1 parent 4739b04 commit f43142f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/api/core/connectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ The _query_ argument is an object that may include the following properties:
- _type_: The query format type, such as `"exec"` (no return value), `"arrow"`, and `"json"`.
- Any additional connector-specific options.

Once instantiated, register a connector with the coordinator using the [`coordinator.databaseConnector()`](coordinator#databaseconnector) method.

## socketConnector

`socketConnector(uri)`
Expand Down
2 changes: 1 addition & 1 deletion docs/duckdb/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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/core/connectors#wasmConnector) provided by the `mosaic-core` package.
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/core/connectors#wasmconnector) provided by the `mosaic-core` package.
:::

## DuckDB API
Expand Down

0 comments on commit f43142f

Please sign in to comment.