# Dataview
Community plugin that turns the vault into a queryable database. Annotate notes with YAML frontmatter or inline fields (`Key:: Value`), then extract and display data as tables, lists, or task views.
## Query Modes
- **DQL** — SQL-like pipeline syntax for basic queries
- **Inline expressions** — embed DQL directly in markdown
- **DataviewJS** — full JavaScript API for complex queries
- **Inline JS** — execute JavaScript expressions inline
## Examples
List all notes tagged `#project` sorted by date:
````markdown
```dataview
TABLE description, date
FROM #project
SORT date DESC
```
````
Inline field in a note:
```markdown
Status:: Active
Priority:: High
```