mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
The `wasm-pack` too has a known bug where it forgets to add snippets to `package.json`: https://github.com/rustwasm/wasm-pack/issues/1206 Let's fix that with some bash magic.
6 lines
136 B
JavaScript
6 lines
136 B
JavaScript
import { Database } from 'limbo-wasm';
|
|
|
|
const db = new Database('hello.db');
|
|
|
|
console.log(db.exec("SELECT 'hello, world' AS message"));
|