Skip to content

Querying

TypeMD provides two ways to find objects: structured queries and full-text search.

Use tmd query to filter objects by properties. Conditions use key=value format, separated by spaces (AND logic).

Terminal window
tmd query "type=book"
tmd query "type=book status=reading"
tmd query "type=book" --json

Use tmd search to search across filenames, properties, and body content. Powered by SQLite FTS5.

Terminal window
tmd search "concurrency"
tmd search "golang" --json

In the TUI, press / to enter search mode. Results are filtered in real-time. Press Esc to clear results and return to the full list.