Skip to content

vidicas/sqlx-repo

Repository files navigation

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.

About

Database repository pattern on top of sqlx

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages