List Notes By Tag
dataview.listByTagList notes filtered by a specified tag, with optional WHERE, SORT, and LIMIT clauses. Returns structured data from Dataview.
Instructions
Convenience wrapper that runs LIST FROM #tag (optionally with WHERE, SORT, and LIMIT clauses). Returns the same shape as dataview.query. Requires the Dataview and Local REST API plugins. Use this instead of authoring raw DQL when filtering by a single tag.
Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Tag to filter by. With or without leading `#`. | |
| whereClause | No | Optional DQL `WHERE` clause body (without the `WHERE` keyword). | |
| sortBy | No | Optional DQL `SORT` clause body (without the `SORT` keyword). Example: `file.ctime desc`. | |
| limit | No | Optional `LIMIT` n clause. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||