Repository navigation
Version 1.7
- Support custom columns via type converters. See the docs for details on how to use this feature.
- Transactions now roll back when not completed successfully, they also rethrow the exception to make debugging easier.
- New
backendsapi, making it easier to write database drivers that work with moor. Apart frommoor_flutter, new experimental backends can be checked out from git:encrypted_moor: An encrypted moor database: https://github.com/simolus3/moor/tree/develop/extras/encryptionmoor_mysql: Work in progress mysql backend for moor. https://github.com/simolus3/moor/tree/develop/extras/mysql
- The compiled sql feature is no longer experimental and will stay stable until a major version bump
- New, experimental support for
.moorfiles! Instead of declaring your tables in Dart, you can choose to declare them with sql by writing theCREATE TABLEstatement in a.moorfile. You can then use these tables in the database and with daos by using theincludeparameter on@UseMoorand@UseDao. Again, please notice that this is an experimental api and there might be some hiccups. Please report any issues you run into.
Also see the full changelog for the relases from 1.2 to 1.6.