This commit is contained in:
Liang Ding 2023-01-19 01:15:54 +08:00
parent 2cb6e82330
commit ffed021dda
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
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 {