Files
nexus/wiki/concepts/Task-Query.md

29 lines
935 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Task Query"
type: concept
tags: []
sources: []
last_updated: 2025-03-13
---
## Definition
Task Query任务查询是 Obsidian Tasks 插件的核心功能,通过 `tasks` 代码块定义筛选条件(`not done`/`due before tomorrow`/`sort by priority` 等),在笔记任意位置嵌入动态任务列表。
## Details
- **语法示例**
````
```tasks
not done
due before tomorrow
sort by priority
```
````
- **特点**:比 Notion 数据库更灵活,可嵌入任意笔记的上下文中,实现「在笔记的上下文里直接看到当前最重要的任务」
- **常用条件**`not done`/`done`/`due on <date>`/`due before <date>`/`due after <date>`/`sort by created/sort by priority/sort by date`
## Related Concepts
- [[Obsidian Tasks]]Task Query 的宿主插件
## Sources
- [[obsidian-tasks-插件-这可能是最适合懒人的任务管理方式]]