title: MongoDb Query In springBoot using MongoRepository
body: <p>I am having Multiple Query Parameters (like name , age , gender, location etc...n numbers) in my GET api. Now  I need to query my mongo Database using these query values . Now user can send from 0 to n query parameters.</p>
  
  <p>I am trying to use Something Like</p>
  
  <pre><code>findByNameAndAge(String Name , String Age)
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>findByNameAndAgeAndGender(String Name , String Age, String Gender)
  </code></pre>
  
  <p>But the problem is I will have to write multiple queries considering all the permutation and combination user can send.
  Is there any better way to do it?</p>