Fix query for android
This commit is contained in:
parent
536d8b0440
commit
23336ddd5d
1 changed files with 2 additions and 4 deletions
|
@ -855,10 +855,8 @@ class FilesDB {
|
|||
title,
|
||||
];
|
||||
if (Platform.isAndroid) {
|
||||
whereClause =
|
||||
'''($columnUploadedFileID != NULL OR $columnUploadedFileID != -1)
|
||||
AND ($columnOwnerID = ? OR $columnOwnerID IS NULL) AND $columnLocalID = ? AND
|
||||
$columnFileType = ? AND $columnTitle=? AND $columnDeviceFolder= ?
|
||||
whereClause = ''' ($columnOwnerID = ? OR $columnOwnerID IS NULL) AND
|
||||
$columnLocalID = ? AND $columnFileType = ? AND $columnTitle=? AND $columnDeviceFolder= ?
|
||||
''';
|
||||
whereArgs = [
|
||||
ownerID,
|
||||
|
|
Loading…
Add table
Reference in a new issue