[doc] repository methode has to return the query