title: How to perform compound queries with logical OR in Cloud Firestore?
body: <p>From <a href="https://firebase.google.com/docs/firestore/query-data/queries?authuser=0" rel="noreferrer">the docs</a>:</p>
  
  <blockquote>
    <p>You can also chain multiple where() methods to create more specific queries (logical AND).</p>
  </blockquote>
  
  <p>How can I perform an <code>OR</code> query?
  Example: </p>
  
  <ol>
  <li>Give me all documents where the field <code>status</code> is <code>open</code> OR <code>upcoming</code></li>
  <li>Give me all documents where the field <code>status == open</code> OR <code>createdAt &lt;= &lt;somedatetime&gt;</code></li>
  </ol>