Skip to content

QueryController.applySearchQuery method

QueryController › applySearchQuery

Unofficial

Filters entries by the current search query.

Signature:

applySearchQuery(entries: BasesEntry[], order: (`note.${string}` | `formula.${string}` | `file.${string}`)[]): BasesEntry[]

Parameters:

Parameter Type Description
entries BasesEntry[] The entries to filter.
order (note.${string} | formula.${string} | file.${string})[] The property order used to read values from each entry.

Returns: BasesEntry[]The filtered entries.