mirror of
https://github.com/zadam/trilium.git
synced 2024-11-14 03:40:27 +08:00
1 line
146 B
MySQL
1 line
146 B
MySQL
|
UPDATE notes SET contentLength = COALESCE((SELECT COALESCE(LENGTH(content), 0) FROM note_contents WHERE note_contents.noteId = notes.noteId), -1);
|