added sent and id column again for add_cam_main

id checks if entry already exists. sent says if the entry is already
sent to the db
This commit is contained in:
Nico
2025-05-12 18:18:36 +02:00
parent a5769a7dc0
commit ecafe2df02
7 changed files with 518 additions and 607 deletions

View File

@@ -64,10 +64,10 @@ class PlaceDBHelper implements IDb{
}
@override
Future<void> updateMainEntry(Map<String, String> place) async {
Future<int> updateMainEntry(Map<String, String> place) async {
var placeDBClient = await dB;
await placeDBClient
return await placeDBClient
.update('place', place, where: "ID = ?", whereArgs: [place['ID']]);
}