[mob] Fix query
This commit is contained in:
parent
7e5561e5cd
commit
f80f7a03e1
1 changed files with 2 additions and 2 deletions
|
@ -777,7 +777,7 @@ class FaceMLDataDB {
|
|||
final db = await instance.asyncDB;
|
||||
|
||||
const String sql = '''
|
||||
INSERT INTO $notPersonFeedback ($personIdColumn, $clusterIDColumn) VALUES (?, ?) ON CONFLICT($personIdColumn, $clusterIDColumn) DO NOTHING
|
||||
INSERT INTO $notPersonFeedback ($personIdColumn, $clusterIDColumn) VALUES (?, ?) ON CONFLICT DO NOTHING
|
||||
''';
|
||||
await db.execute(sql, [personID, clusterID]);
|
||||
}
|
||||
|
@ -788,7 +788,7 @@ class FaceMLDataDB {
|
|||
final db = await instance.asyncDB;
|
||||
|
||||
const String sql = '''
|
||||
INSERT INTO $notPersonFeedback ($personIdColumn, $clusterIDColumn) VALUES (?, ?) ON CONFLICT($personIdColumn, $clusterIDColumn) DO NOTHING
|
||||
INSERT INTO $notPersonFeedback ($personIdColumn, $clusterIDColumn) VALUES (?, ?) ON CONFLICT DO NOTHING
|
||||
''';
|
||||
final parameterSets =
|
||||
clusterToPersonID.entries.map((e) => [e.value, e.key]).toList();
|
||||
|
|
Loading…
Reference in a new issue