Skip to content

ThatGuyJamal/sqlite-tenant-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQLite Multi-Tenant Management Library


I have always enjoyed using sqlite in my projects. I've created this project to make it easier for me and others to manage multiple databases in the same application.

For example if you have an app, and you want user data to be seperated into different databases, this can be tricky to set up and time-consuming to make sure it works properly. So ive written some utility to make that process easier. Its 100% in pure rust and if this project gains traction I will consider porting bindings over to other languages (py, js, ...). Make a PR if you want to help.

What im working on currently can be found in the todo.md file.

Mit Licence


  • Sqlite docs

  • The library core is built on rust-sqlite. You can read the docs here to understand how to access and use sqlite from this crate.

  • Example usage of the library can be found in ./examples


If you need database migration support, I recommend using the refinery library. After some thinking, I did not want to attempt to implement migrations myself as its complicated and smarter people have done it already.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages