Soru/moor
This commit is contained in:
parent
79a306351e
commit
f594c7005d
55 changed files with 1034 additions and 1133 deletions
12
lib/utils/database/mobile.dart
Normal file
12
lib/utils/database/mobile.dart
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import 'package:famedlysdk/famedlysdk.dart';
|
||||
import 'package:encrypted_moor/encrypted_moor.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
Database constructDb({bool logStatements = false, String filename = 'database.sqlite', String password = ''}) {
|
||||
debugPrint('[Moor] using encrypted moor');
|
||||
return Database(EncryptedExecutor(path: filename, password: password, logStatements: logStatements));
|
||||
}
|
||||
|
||||
Future<String> getLocalstorage(String key) async {
|
||||
return null;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue