{"id":21659709,"url":"https://github.com/WasmEdge/wasmedge-db-examples","last_synced_at":"2025-07-17T22:32:50.180Z","repository":{"id":65591899,"uuid":"501811738","full_name":"WasmEdge/wasmedge-db-examples","owner":"WasmEdge","description":"Lightweight database clients in the WasmEdge Runtime","archived":false,"fork":false,"pushed_at":"2024-08-12T06:12:40.000Z","size":351,"stargazers_count":66,"open_issues_count":4,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-22T06:02:53.867Z","etag":null,"topics":["async","database","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WasmEdge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-09T21:20:46.000Z","updated_at":"2024-10-16T11:04:46.000Z","dependencies_parsed_at":"2023-02-16T12:01:01.983Z","dependency_job_id":"e1e79be9-6a75-4cec-bd10-f4ae9899259d","html_url":"https://github.com/WasmEdge/wasmedge-db-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasmEdge%2Fwasmedge-db-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasmEdge%2Fwasmedge-db-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasmEdge%2Fwasmedge-db-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WasmEdge%2Fwasmedge-db-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WasmEdge","download_url":"https://codeload.github.com/WasmEdge/wasmedge-db-examples/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305722,"owners_count":17603863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","database","rust"],"created_at":"2024-11-25T09:31:24.715Z","updated_at":"2024-11-25T09:33:22.263Z","avatar_url":"https://github.com/WasmEdge.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Database client examples for WasmEdge\n\nBased on WasmEdge's [non-blocking network socket API](https://wasmedge.org/book/en/dev/rust/networking-nonblocking.html) and a Tokio-like [async runtime](https://github.com/WasmEdge/tokio_wasi),\nwe are able to port popular database drivers and clients for the WasmEdge Runtime. This repo is a collection of examples accessing databases from inside WasmEdge applications.\n\n* [MySQL / MariaDB / TiDB](mysql_async/) relational DB example\n* [GreptimeDB](greptimedb/) time series DB example\n* [Postgres](postgres/) example\n* [Redis](redis/) key value store example\n* [Qdrant](qdrant/) vector DB example\n\nAlternatively, you can use the [Dapr SDK for Wasm](https://github.com/second-state/dapr-sdk-wasi) to access database or KV store services attached to your Dapr sidecars. [See examples here](https://github.com/second-state/dapr-wasm).\n\nYou can also check out\n\n* [A complete microservice demo](https://github.com/second-state/microservice-rust-mysql) with a HTTP server and a MySQL backend.\n* [An event-driven microservice demo](https://github.com/docker/awesome-compose/tree/master/wasmedge-kafka-mysql) with a Kafka queue and a MySQL backend.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWasmEdge%2Fwasmedge-db-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWasmEdge%2Fwasmedge-db-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWasmEdge%2Fwasmedge-db-examples/lists"}