title: MongoDB dump all collections in a database with query
body: <p>I want to dump data in mongodb with a specific time range.
  Dump one collection works right. </p>
  
  <pre><code>mongodump --db VnTrader_Tick_ALL_1106 --collection au1712 --out tick_1106 --query "{ datetime: {$gte: new Date(1509973200000), $lt: new Date(1510038900000) }}"
  </code></pre>
  
  <p>And I am wondering how can I dump all collections in my database by same query?
  Thanks a lot</p>