Query offers a Snippet interface for querying any database collection, e.g. as an alternative to getResources