title: How to stop firestore from auto creating sub collections based on dash?
body: <p>Flutter code:</p>
  <pre><code>FirebaseFirestore.instance
    .collection(&quot;EventsByDate&quot;)
      .doc(&quot;06-15-2020&quot;).set({
        &quot;name&quot;: &quot;Flutter Demo Day&quot;,
        &quot;venue&quot;: &quot;Javits center&quot;
      });
  </code></pre>
  <p>Creates a document &quot;06&quot; in collection &quot;EventsByDate&quot;.<br>
  Document &quot;06&quot; contains a sub-collection &quot;15&quot;.<br>
  &quot;15&quot; contains a sub-collection &quot;2020&quot;.<br>
  &quot;2020&quot; contains the data I am setting!</p>
  <p>How do I stop firebase/firestore from creating this sub-collection hierarchical structure?</p>
  <p>All I want is a document &quot;06-15-2020&quot; which contains the data I am setting. Don't want any of these subcollections!</p>
  <p>(Thanks in advance)</p>