Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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

43,240 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

~/qudo profil fotoğrafı
~/qudo1 yıl önce

Is this April fools

Engid profil fotoğrafı
Engid1 yıl önce

SQLocal rolls off the tongue

Firtina Ozbalikci profil fotoğrafı
Firtina Ozbalikci1 yıl önce

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

ryan profil fotoğrafı
ryan1 yıl önce

i’m sorry what

Jean profil fotoğrafı
Jean1 yıl önce

or ?

Ben Holmes profil fotoğrafı
Ben Holmes1 yıl önce

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

Ian Simmons profil fotoğrafı
Ian Simmons1 yıl önce

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

Man’soour - (منصور) profil fotoğrafı
Man’soour - (منصور)1 yıl önce

Use cases?

David Cozzi II profil fotoğrafı
David Cozzi II1 yıl önce

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 🙁

Jacob Wolf 🐝 profil fotoğrafı
Jacob Wolf 🐝1 yıl önce

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.

Benzer Videolar