I am working on Spring data mongo
with my Spring MVC
application. I need to understand which is the correct way to improve performance if I wish to use multiple criteria's.
- Do I need to go for
Repository
methods? Or - Do I need to go for
MongoTemplate
/MongoOperations
?
Which is advisable to use to improve performance with many contional criteria's ?