Skip to main content

COMMENT_REF_CLAUSE

Constant COMMENT_REF_CLAUSE 

Source
pub(crate) const COMMENT_REF_CLAUSE: &str = "EXISTS (SELECT 1 FROM comments c \
     WHERE c.deleted_at IS NULL AND c.content_html LIKE '%' || a.path || '%')";
Expand description

存活评论引用判定,供单删接口返回更具体的业务提示。