I would like to be able to call only certain fields of a document stored in firestore, in order to reduce the amount of information of the call, however I can only bring the full document. The call I do it in the following way:
return this.afs.collection('semaforos', ref => ref.orderBy('codid')).valueChanges();