This commit is contained in:
Liang Ding
2023-01-19 01:15:54 +08:00
parent 2cb6e82330
commit ffed021dda
3 changed files with 8 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ import (
"github.com/siyuan-note/siyuan/kernel/util"
)
func QueryEmbedBlocks() (ret []*Block) {
func QueryEmptyContentEmbedBlocks() (ret []*Block) {
stmt := "SELECT * FROM blocks WHERE type = 'query_embed' AND content = ''"
rows, err := query(stmt)
if nil != err {