Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
menu_book Course Curriculum (Bun) expand_more
Bun / SQLite & Data

bun:sqlite Database

Learn bun:sqlite Database in Bun with a focused explanation, a topic-specific example, edge guidance, and a mastery check.

12 min read • Intermediate
bun-051.ts
ts
import { Database } from "bun:sqlite";
const db=new Database(":memory:");
db.exec("CREATE TABLE tasks(id INTEGER PRIMARY KEY,title TEXT)");
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content