Skip to content

vaultmd / WhereMap

Type Alias: WhereMap

WhereMap = Record<string, string | number | boolean>

Defined in: src/query/models/where-map.ts:11

A map of frontmatter field names to exact-match values used as a filter in QueryApi.queryNotes. All entries are combined with AND semantics.

Example

ts
// notes where status === 'done' AND priority === 1
vault.query.queryNotes({ where: { status: 'done', priority: 1 } });