mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
update
This commit is contained in:
@@ -297,6 +297,15 @@ class AppDatabase extends _$AppDatabase {
|
||||
|
||||
return totals;
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// ACCOUNTS
|
||||
// ============================================================================
|
||||
|
||||
/// Update an account
|
||||
Future<void> updateAccount(AccountsCompanion account) async {
|
||||
await update(accounts).replace(account);
|
||||
}
|
||||
}
|
||||
|
||||
LazyDatabase _openConnection() {
|
||||
|
||||
Reference in New Issue
Block a user