Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasm rdbms #1212

Open
wants to merge 135 commits into
base: main
Choose a base branch
from
Open

wasm rdbms #1212

wants to merge 135 commits into from

Conversation

justcoon
Copy link
Contributor

@justcoon justcoon commented Dec 26, 2024

fixes: #1016

rdbms host implementation for postgres and mysql

  • golem-wit PR: rdbms 0.0.1 golem-wit#36
  • underlying implementation using sqlx rust library,
  • golem-test-framework
    • added support for mysql (docker)
    • added invoke_and_await_typed functions to WorkerService - (typed response is possible to transform to json, which then make test results comparison easier)
  • created rdbms-service test component

TODO

  • query_stream implementation for transaction (it may require implement custom sqlx Executor, as provided implementation is for mut Connections, and then there is error like: error[E0515]: cannot return value referencing local variable transaction)
  • fix CI tests failures
  • postgres range custom type - address conversion for missing subtypes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement wasm-rdbms interface for standardized database access
1 participant