drift/extras/encryption
Simon Binder 0ef7353df5
Setup CI with Dart 2.12 beta
2020-11-18 10:53:20 +01:00
..
lib Encrypted moor: Assert non-nullable transactions 2020-06-19 14:13:15 +02:00
.gitignore Publish a simple encrypted version for moor 2019-07-24 19:23:25 +02:00
README.md Document type converters feature 2019-07-28 13:44:25 +02:00
pubspec.yaml Setup CI with Dart 2.12 beta 2020-11-18 10:53:20 +01:00

README.md

Moor version that uses the sqflite_sqlcipher instead of sqflite.

Using this

For general notes on using moor, see this guide.

Instead of using moor_flutter, use this:

dependencies:
  moor: "$latest version"
  encrypted_moor:
   git:
    url: https://github.com/simolus3/moor.git
    path: extras/encryption 

To use this, you can stop depending on moor_flutter. Then, instead of using a FlutterQueryExecutor, import package:moor/moor.dart and package:encrypted_moor/encrypted_moor.dart.

You can then replace the FlutterQueryExecutor with an EncryptedExecutor.