2019-07-24 10:23:25 -07:00
|
|
|
Moor version that uses the
|
|
|
|
[sqflite_sqlcipher](https://github.com/davidmartos96/sqflite_sqlcipher) instead of
|
|
|
|
sqflite.
|
|
|
|
|
|
|
|
## Using this
|
2022-03-13 07:52:15 -07:00
|
|
|
For general notes on using moor, see [this guide](https://drift.simonbinder.eu/getting-started/).
|
2019-07-24 10:23:25 -07:00
|
|
|
|
|
|
|
Instead of using `moor_flutter`, use this:
|
|
|
|
```yaml
|
|
|
|
dependencies:
|
|
|
|
moor: "$latest version"
|
|
|
|
encrypted_moor:
|
|
|
|
git:
|
2022-03-13 07:52:15 -07:00
|
|
|
url: https://github.com/simolus3/drift.git
|
|
|
|
path: extras/encryption
|
2019-07-24 10:23:25 -07:00
|
|
|
```
|
|
|
|
|
2022-03-13 07:52:15 -07:00
|
|
|
To use this, you can stop depending on `moor_flutter`. Then, instead of using
|
2019-07-28 04:44:25 -07:00
|
|
|
a `FlutterQueryExecutor`, import `package:moor/moor.dart` and `package:encrypted_moor/encrypted_moor.dart`.
|
|
|
|
|
|
|
|
You can then replace the `FlutterQueryExecutor` with an `EncryptedExecutor`.
|