search

abstract suspend fun <R : Resource> search(search: Search): List<SearchResult<R>>

Searches the database and returns a list of resources matching the Search specifications.

Return

A list of SearchResult objects containing the matching resources and any included references.

Parameters

search

The search criteria to apply.