Skip to main content

COUNT_TASKS_INCOMPLETE

Constant COUNT_TASKS_INCOMPLETE 

Source
pub const COUNT_TASKS_INCOMPLETE: &str = "SELECT COUNT(*) FROM tasks WHERE status IN ('todo', 'doing') AND deleted_at IS NULL";
Expand description

Count active incomplete tasks (todo or doing)