0
I am unable to return the documents from a collection where this document has a field called tags that is a list of strings with the tag ID.
Below follows the code of what 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 could I be doing wrong?