mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
many changes related to #1192:
- use CSS contain wherever possible to reduce subtrees of forced reflows - reduced dependency between note and note_contents updates which will reduce number of updates to components - optimization of "many rows" querying
This commit is contained in:
@@ -15,7 +15,7 @@ sqlInit.dbReady.then(() => {
|
||||
function load() {
|
||||
noteCache.reset();
|
||||
|
||||
for (const row of sql.iterateRows(`SELECT noteId, title, type, mime, isProtected, dateCreated, dateModified, utcDateCreated, utcDateModified, contentLength FROM notes WHERE isDeleted = 0`, [])) {
|
||||
for (const row of sql.iterateRows(`SELECT noteId, title, type, mime, isProtected, dateCreated, dateModified, utcDateCreated, utcDateModified FROM notes WHERE isDeleted = 0`, [])) {
|
||||
new Note(noteCache, row);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user