I am not able to return documents from a collection where this document has a field called tags which is a list of strings with the tag ID.
Below is the code I'm trying to do:
document = this.afs.collection('todos',
ref => ref.where(tags, '==', 'ASOEOIN35O34N5O'));
The document fields are:
Document (all):
title: 'TITULO',
notes: 'NOTAS',
completed: true,
important: false,
tags: [{
0: 'ASOEOIN35O34N5O',
1: 'PWEPORJN2PNPGEW',
3: 'POKAPASJPASFGGG'
}]
When performing a query with a query, nothing is returned.
What can I be doing wrong?