Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

You can put SQLite in the browser now? Yeah, here's how 👀

43,240 Aufrufe • vor 1 Jahr •via X (Twitter)

10 Kommentare

Profilbild von ~/qudo
~/qudovor 1 Jahr

Is this April fools

Profilbild von Engid
Engidvor 1 Jahr

SQLocal rolls off the tongue

Profilbild von Firtina Ozbalikci
Firtina Ozbalikcivor 1 Jahr

Yep, I use this for local first web apps, sharing the same drizzle schema for front and back end, works like a dream.

Profilbild von ryan
ryanvor 1 Jahr

i’m sorry what

Profilbild von Jean
Jeanvor 1 Jahr

or ?

Profilbild von Ben Holmes
Ben Holmesvor 1 Jahr

Ah, there's an important distinction: sql.js runs in memory, while the sqlite wasm build writes to a file. This persists data even when closing your web app

Profilbild von Ian Simmons
Ian Simmonsvor 1 Jahr

Did Electron and Tauri apps with their own local database just get super easy because of this? IDK but it looks exciting.

Profilbild von Man’soour - (منصور)
Man’soour - (منصور)vor 1 Jahr

Use cases?

Profilbild von David Cozzi II
David Cozzi IIvor 1 Jahr

If only there was this thing where SQLite was just baked into every browser. Probably could call it WebSQL. Sadly, we can’t have nice things 🙁

Profilbild von Jacob Wolf 🐝
Jacob Wolf 🐝vor 1 Jahr

Recently started using this in CI for a side project: Same concept. Can be in memory or to IndexedDB. Really nice to have a Postgres-compatible API rather than having to adjust my code to write Postgres in prod & SQLite in CI.

Ähnliche Videos