Skip to main content

COUNT_CHILDREN_TOTAL

Constant COUNT_CHILDREN_TOTAL 

Source
pub const COUNT_CHILDREN_TOTAL: &str = "SELECT COUNT(*) FROM tasks WHERE parent_id = ? AND deleted_at IS NULL";
Expand description

Count total active children of a parent