An open API service indexing awesome lists of open source software.

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

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.