enter image description here
this is my Schema
i want to use tag.id
this is code doesnt work.... help me
You should be using positional operator in this case.
Todo.find({ 'tag.$._id': id });