Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[photos] Clarify FilesDB row projection naming

ashil-pilotaaa0131d99f1
diff --git a/mobile/apps/photos/lib/db/files_db.dart b/mobile/apps/photos/lib/db/files_db.dart
index 5ac2d974c2..b434f3e3da 100644
--- a/mobile/apps/photos/lib/db/files_db.dart
+++ b/mobile/apps/photos/lib/db/files_db.dart
@@ -126,7 +126,7 @@ class FilesDB with SqlDbBase {
columnAddedTime,
];
- static final String _materializedFileProjection = _columnNames.join(", ");
+ static final String _fileRowProjection = _columnNames.join(", ");
FilesDB._privateConstructor();
@@ -2012,7 +2012,7 @@ class FilesDB with SqlDbBase {
? ' AND (${order.columns.join(', ')}) ${order.comparison} '
'(${List.filled(order.columns.length, '?').join(', ')})'
: '';
- return 'SELECT $_materializedFileProjection FROM $filesTable '
+ return 'SELECT $_fileRowProjection FROM $filesTable '
'WHERE ($whereClause)$pageBoundaryClause '
'ORDER BY ${order.orderByClause} LIMIT ?';
}