Skip to content

Initial release

Compare
Choose a tag to compare
@emirror-de emirror-de released this 27 Aug 13:23
· 92 commits to main since this release

This is the very first release of a long prepared crate that targets to simplify the connection of your models to one or more databases. Currently it only targets SQL Databases, but support for other databases might be added in the future.

New features

  • Most common function implementations insert, update, remove for your models.
  • DatabaseUpdateHandler trait enables you to change the models values before and after the update transaction to the database.
  • Integrated barrel crate for writing your SQL migrations.
  • Thread safe handling of the database connection.

Supported databases

  • SQLite3

Upcoming enhancements

  • Implementation of query_by_{PROPERTY_NAME} methods that enable to query a model from the database that matches this property
  • Support for MySql
  • Support for PostgreSQL

For more information visit the documentation page.


This crate is brought to you by openprobst, an initiative by emirror-de