I assumed maybe I messed something up here and the user in the mentors.mentorList with the _id : 5c9ba636347bb645e0865283 didn't have the correct references. So, since I know that the student was populating, I moved copied the student into the mentors.mentorList.
I am really not sure what could be going wrong. And it seems like it is user error, but I can't figure out why it's not working! Maybe someone can shed some light on this.
I have the following Schema
And within the Document I am testing against I have the following:
and when I use the following query:
I get the following response:
I assumed maybe I messed something up here and the user in the
mentors.mentorList
with the_id : 5c9ba636347bb645e0865283
didn't have the correct references. So, since I know that the student was populating, I moved copied the student into thementors.mentorList
.So, now it would look like this:
Weirdly enough, I get the same type of response back with the
mentors.mentorList
not populated:I am really not sure what could be going wrong. And it seems like it is user error, but I can't figure out why it's not working! Maybe someone can shed some light on this.
Thank you so much.