mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-26 17:26:25 +02:00
examples + fmt
This commit is contained in:
parent
356f75cca7
commit
dd972f6ffe
16 changed files with 1064 additions and 25 deletions
|
|
@ -1,5 +1,11 @@
|
|||
# `sqlite-vec` statically compiled into WASM builds
|
||||
|
||||
You can compile your own version of SQLite's WASM build with `sqlite-vec` builtin. Dynamically loading SQLite extensions is not supported in the official WASM build yet, but you can statically compile extensions in. It's not well documented, but the `sqlite3_wasm_extra_init` option in the SQLite `ext/wasm` Makefile allows you to inject your own code at initialization time. See the `Makefile` at the room of the project for more info.
|
||||
You can compile your own version of SQLite's WASM build with `sqlite-vec`
|
||||
builtin. Dynamically loading SQLite extensions is not supported in the official
|
||||
WASM build yet, but you can statically compile extensions in. It's not well
|
||||
documented, but the `sqlite3_wasm_extra_init` option in the SQLite `ext/wasm`
|
||||
Makefile allows you to inject your own code at initialization time. See the
|
||||
`Makefile` at the room of the project for more info.
|
||||
|
||||
The `wasm.c` file here demonstrates auto-loading the `sqlite-vec` entrypoints at startup.
|
||||
The `wasm.c` file here demonstrates auto-loading the `sqlite-vec` entrypoints at
|
||||
startup.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue