Quick start with Waddler
This guide assumes familiarity with:
- DuckDB database and NodeJS driver - read here
Step 1 - install dependencies:
npm
yarn
pnpm
bun
npm i waddler duckdb
Step 2 - initialise Waddler instance:
import { waddler } from "waddler";
const sql = waddler({ dbUrl: "local.db", min: 1, max: 1 })
Step 3 - run your first query:
const result = await sql`select 1`;
What’s next?
SQL template