6 ms·
and another question - is it possible to index embedded document fields? When I query for a single embedded document, does mongoose return only this single doc
by CheekySp 16y ago
and another question - is it possible to index embedded document fields?
When I query for a single embedded document, does mongoose return only this single document, or the whole parent document with all embedded documents is returned beforehand?