[doc] repository methode has to return the query
Merge pull request #450 from antistatique/master

[doc] repository methode has to return the query