mirror of
https://github.com/zadam/trilium.git
synced 2024-11-17 13:14:44 +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);
|