title: get max value in mongoose
body: <p>how to get maximum value in mongoose query . in SQL it is easy</p>
  
  <pre><code>SELECT MAX(LAST_MOD) FROM table1
  Where field1=1
  </code></pre>
  
  <p>i want Equivalent of above  SQL code in mongoose(node.js)</p>