This repo. contains a demo. of wasi-sql
in action.
src/
: contains an example guest implementation of the interface.host/
: contains an example host implementation of the interface.
To run the demo.:
make build
make componentize
make run
Note: This repo. adds a "fake-handler" export to the original
wasi-sql
proposal, just to highlight calling something from the host to the guest. This is not part of the proposal – another way to do this would be to have the host call the guest's_start
fxn.