protected List < T > queryView ( String viewName , ComplexKey key ) { return db . queryView ( createQuery ( viewName ) . includeDocs ( true ) . key ( key ) , type ) ; }
Allows subclasses to query views with simple String value keys and load the result as the repository s handled type .