0

I have a firebase collection and I have two types of queries

  1. In first I want to read all the fields excluding 3 of them
  2. In second I want to read all the fields

Is there any way to do this, instead of creating another collection inside that document?

Eg:

Collection -> Doc -> {10 different fields}

  1. In first query result should be all 10 different fields
  2. In second, result should be 7 fields (let's say I have excluded three fields namely like, comment and share)

0 Answers0