{"id":25683118,"url":"https://github.com/ungana/sqlx-sqlite-database-connection","last_synced_at":"2026-04-28T17:32:12.126Z","repository":{"id":237349577,"uuid":"794351191","full_name":"ungana/sqlx-sqlite-database-connection","owner":"ungana","description":"An example project showing how to use SQLx and SQLite together in a Rust project.","archived":false,"fork":false,"pushed_at":"2024-05-01T00:53:49.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T06:03:39.504Z","etag":null,"topics":["connection","example","rust","rust-lang","sqlite","sqlite3","sqlx","sqlx-cli"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ungana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-01T00:37:37.000Z","updated_at":"2024-05-01T00:53:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fb43913-e7ec-48f6-a383-25c582e8aadd","html_url":"https://github.com/ungana/sqlx-sqlite-database-connection","commit_stats":null,"previous_names":["ungana/sqlx-sqlite-database-connection"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ungana/sqlx-sqlite-database-connection","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungana%2Fsqlx-sqlite-database-connection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungana%2Fsqlx-sqlite-database-connection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungana%2Fsqlx-sqlite-database-connection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungana%2Fsqlx-sqlite-database-connection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ungana","download_url":"https://codeload.github.com/ungana/sqlx-sqlite-database-connection/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ungana%2Fsqlx-sqlite-database-connection/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["connection","example","rust","rust-lang","sqlite","sqlite3","sqlx","sqlx-cli"],"created_at":"2025-02-24T16:41:23.730Z","updated_at":"2026-04-28T17:32:12.121Z","avatar_url":"https://github.com/ungana.png","language":"Rust","readme":"SQLx with SQLite Example\n========================\n\nThis is an example of using [SQLx](https://github.com/launchbadge/sqlx) with [SQLite](https://sqlite.org/). It doesn't do too much, but it you can see a simple example of how to setup your project to use the two together.\n\n## Getting Started\n\nYou will need [Rust](https://rust-lang.org), [SQLite](https://sqlite.org/)(if your operating system does not already have it) and the [SQLx CLI](https://crates.io/crates/sqlx-cli). Once installed, navigate to this cloned project in the terminal and run:\n\n```bash\ncargo run\n```\n\nThis project simply adds \"John Doe\" to an `example.db` file. You can see the additions using the [SQLite](https://sqlite.org/) app of your choice and checking the `Users` table.\n\n```sql\nSELECT * FROM Users;\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fungana%2Fsqlx-sqlite-database-connection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fungana%2Fsqlx-sqlite-database-connection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fungana%2Fsqlx-sqlite-database-connection/lists"}