Returns the resource catalog items that match the query.
The find()
function returns a Promise that resolves to the results found
by the query and some information about the results. The Promise is
rejected if find()
is called with incorrect permissions or if any of the
functions used to refine the query are invalid.
Use the options
parameter to run find()
without checking for permissions.
Options to use when performing a query.