https://github.com/vidicas/sqlx-repo
Database repository pattern on top of sqlx
https://github.com/vidicas/sqlx-repo
database mysql postgres repository sqlite sqlx
Last synced: 14 days ago
JSON representation
Database repository pattern on top of sqlx
- Host: GitHub
- URL: https://github.com/vidicas/sqlx-repo
- Owner: vidicas
- License: apache-2.0
- Created: 2025-01-24T16:22:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-12-24T19:09:34.000Z (about 1 month ago)
- Last Synced: 2026-01-13T22:58:09.777Z (14 days ago)
- Topics: database, mysql, postgres, repository, sqlite, sqlx
- Language: Rust
- Homepage: https://docs.rs/sqlx-repo/latest/sqlx_repo/
- Size: 7.27 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# `sqlx-repo`
The `sqlx_repo` is built around Repository Pattern and provides a consistent interface to interact
with relational databases, abstracting away the differences between query syntaxes.
It supports:
- SQLite
- PostgreSQL
- MySQL
The objective is to define a minimal, shared core of database operations that present and behave
consistently and predictably across supported backends. Features which are only specific to a particular
database are deliberately excluded from this core.
### Docs
https://docs.rs/sqlx-repo/latest/sqlx_repo/
### Playground
Debug and check your queries in all dialects: https://vidicas.github.io/sqlx-repo
## License
Licensed under either of:
- Apache License, Version 2.0
- MIT license
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the
work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional
terms or conditions.