title: How can i pass a whole query to mongoose
body: <p>I have a something like this:</p>
  
  <pre><code>var query = collection.find(whole_query); //this came like {whole_query}
          query.exec(function (err, docs) {
              if(err) console.log(err);
  
              docs.forEach(function (item) {
                  console.log(item);
              });
  </code></pre>
  
  <p>mongoose just do: db.collection.find({}) without the var 'whole_query' :c</p>
  
  <p>thanks for you help :)</p>