getAllUploadedFiles: remove redundant null check for owner_id
This commit is contained in:
parent
c7da836656
commit
99eaf37882
1 changed files with 1 additions and 1 deletions
|
@ -338,7 +338,7 @@ class FilesDB {
|
|||
final results = await db.query(
|
||||
table,
|
||||
where:
|
||||
'$columnCreationTime >= ? AND $columnCreationTime <= ? AND ($columnOwnerID IS NULL OR $columnOwnerID = ?) AND ($columnCollectionID IS NOT NULL AND $columnCollectionID IS NOT -1)',
|
||||
'$columnCreationTime >= ? AND $columnCreationTime <= ? AND $columnOwnerID = ? AND ($columnCollectionID IS NOT NULL AND $columnCollectionID IS NOT -1)',
|
||||
whereArgs: [startTime, endTime, ownerID],
|
||||
orderBy:
|
||||
'$columnCreationTime ' + order + ', $columnModificationTime ' + order,
|
||||
|
|
Loading…
Reference in a new issue