what does populate in mongoose mean?
Populate will automatically replace the specified path in the document, with document(s) from other collection(s). Your example Story.findOne({ title: Nintendo }) will return a Story of this kind: { _creator : A0jfdSMmEJj9, // example value title : Nintendo, fans : [r432i900fds09809n, fdsjifdsjfueu88] // example values } } That kind of request would be enough when … Read more