title: Firebase query optimization
body: <p>I have a firebase collection and I have two types of queries</p>
  <ol>
  <li>In first I want to read all the fields excluding 3 of them</li>
  <li>In second I want to read all the fields</li>
  </ol>
  <p>Is there any way to do this, instead of creating another collection inside that document?</p>
  <p>Eg:</p>
  <p>Collection -&gt; Doc -&gt; {10 different fields}</p>
  <ol>
  <li>In first query result should be all 10 different fields</li>
  <li>In second, result should be 7 fields (let's say I have excluded three fields namely like, comment and share)</li>
  </ol>