You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Deno-compatible npm imports and a synchronous JSR SQLite driver with statement cleanup, typed rows, blobs, bigint values, and insert IDs.
Use the existing WASM workflow and add focused documentation, examples, and tests. The Deno example runs and regenerates without Node.js.
Validated 31 generator tests, four SQLite integration tests, Deno checks for all four npm drivers, and WASM output with sqlc 1.24.0 and 1.31.1.
open the database with `{ int64: true }` to preserve large SQLite integers.
376
+
377
+
The [Deno example](examples/deno-db-sqlite/README.md) includes a pinned driver,
378
+
a runnable program, query tests, and generation instructions.
379
+
337
380
## Development
338
381
339
382
If you want to build and test sqlc-gen-typescript locally, follow these steps:
@@ -389,5 +432,8 @@ Check the `Makefile` for details.
389
432
sqlc generate
390
433
```
391
434
435
+
After building `examples/plugin.wasm`, run `make test-deno` with Deno 2 and
436
+
sqlc installed to regenerate, check, test, and run the Deno example.
437
+
392
438
For more details on sqlc development, refer to the sqlc core development guide. This guide provides additional information on setting up and working with sqlc in general, which may be useful for contributors to this project.
0 commit comments