title: Find documents between two dates with mongo
body: <p>So I've a problem where I need to create events. But, those events cant have an opening/ending time between another events. I want my events to get an opening/ending time were they will be the ONLY one at the range of those dates</p>
  
  <p>For example, if I've an event which:</p>
  
  <pre><code>starts at: 4pm
  ends at: 5pm
  </code></pre>
  
  <p>I cant have another event which:</p>
  
  <pre><code>starts at: 4:30 **( this opening time is between start/ends from above event )**
  ends at: 5:30
  </code></pre>
  
  <p>same with:</p>
  
  <pre><code>starts at: 3pm
  ends at: 6pm
  
  **this one is containing the first event too**
  </code></pre>
  
  <p>this is the structure: </p>
  
  <pre><code>{ 
    "event" : "Event 1"
    "startDate": 2019-10-18T20:00:00.363Z, //
    "endDate": 2019-10-18T21:00:00.363Z // 
  }
  </code></pre>
  
  <p>How can I solve this with mongo? Thanks in advance!</p>