Update statement to fetch files within a path
This commit is contained in:
parent
3efd11c4c3
commit
87672faf62
1 changed files with 2 additions and 1 deletions
|
@ -176,7 +176,8 @@ class FilesDB {
|
|||
final db = await instance.database;
|
||||
final results = await db.query(
|
||||
table,
|
||||
where: '$columnLocalID IS NOT NULL AND $columnDeviceFolder = ?',
|
||||
where:
|
||||
'$columnLocalID IS NOT NULL AND $columnDeviceFolder = ? AND $columnIsDeleted = 0',
|
||||
whereArgs: [path],
|
||||
orderBy: '$columnCreationTime DESC',
|
||||
groupBy: '$columnLocalID',
|
||||
|
|
Loading…
Add table
Reference in a new issue