根据 @shuoying 的心得分享帖子学到的,就是不知道该怎么改?谢谢!
相关帖子
-
shuoying • • 1订阅者 支持者 捐赠者 恶龙
-- 查询当前文档的子文档(排除以 YYYY-MM-DD 格式命名的文档) SELECT '[' || b.content || '](siyuan://blocks/' || b.id || ')' AS __1____pre__文档标题, b.updated AS __2____datetime__更新时间, b.created AS __3____date__创建日期 FROM blocks AS b WHERE b.type = 'd' AND b.path LIKE '%/.block{.root_id}/______________-_______.sy' AND NOT b.content REGEXP '^\d{4}\-\d{2}\-\d{2}$' ORDER BY b.updated DESC
-
-- 查询当前文档的子文档(排除以 YYYY-MM-DD 格式命名的文档) SELECT '[' || b.content || '](siyuan://blocks/' || b.id || ')' AS __1____pre__文档标题, b.updated AS __2____datetime__更新时间, b.created AS __3____date__创建日期 FROM blocks AS b WHERE b.type = 'd' AND b.path LIKE '%/.block{.root_id}/______________-_______.sy' AND NOT b.content REGEXP '^\d{4}\-\d{2}\-\d{2}$' ORDER BY b.updated DESC