wasm-sql 0.1.6

Wasmtime host implementation for a SQL component WIT interface. Enables Wasm components to interact with SQL databases via the WebAssembly Component Model.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
package wasm-sql:core@0.1.0;

/// Core SQL database world providing connection pooling, transactions, and query execution.
/// Import this world to access SQL databases from a WASM component.
/// Use together with a database-specific world (e.g., wasm-sql:postgres/host) for type codecs.
world host {
  import pool;
  import transaction;
  import query;
  import query-types;
  import codecs;
}