mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			1 line
		
	
	
		
			146 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
			
		
		
	
	
			1 line
		
	
	
		
			146 B
		
	
	
	
		
			SQL
		
	
	
	
	
	
UPDATE notes SET contentLength = COALESCE((SELECT COALESCE(LENGTH(content), 0) FROM note_contents WHERE note_contents.noteId = notes.noteId), -1); |