Fix no table main found
This commit is contained in:
parent
67a228d2e6
commit
e3a2fc0e45
@ -143,7 +143,7 @@ class DatabaseHelper {
|
||||
|
||||
var test = await DatabaseHelper.instance.queryWithColumnId(type, info[columnId].toString());
|
||||
|
||||
if((type == DatabaseTableType.main && test != null) || (type != DatabaseTableType.main && test.isNotEmpty)) { //test!.where((t) => info[columnId] == t.id).isNotEmpty
|
||||
if((type == DatabaseTableType.main && test.isNotEmpty) || (type != DatabaseTableType.main && test.isNotEmpty)) { //test!.where((t) => info[columnId] == t.id).isNotEmpty
|
||||
if(type != DatabaseTableType.main) {
|
||||
//print("UPDATE $type - length before ${test.length}");
|
||||
print("UPDATE $type");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user