Загрузка видео...

Не удалось загрузить видео

На главную

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

43,240 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля ~/qudo
~/qudo1 год назад

Is this April fools

Фото профиля Engid
Engid1 год назад

SQLocal rolls off the tongue

Фото профиля Firtina Ozbalikci
Firtina Ozbalikci1 год назад

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

Фото профиля ryan
ryan1 год назад

i’m sorry what

Фото профиля Jean
Jean1 год назад

or ?

Фото профиля Ben Holmes
Ben Holmes1 год назад

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
Ian Simmons1 год назад

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

Фото профиля Man’soour - (منصور)
Man’soour - (منصور)1 год назад

Use cases?

Фото профиля David Cozzi II
David Cozzi II1 год назад

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 🐝
Jacob Wolf 🐝1 год назад

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.

Похожие видео