From b11034ad068c5a1a83ddb29c71b11b8f6bd638fb Mon Sep 17 00:00:00 2001 From: hasezoey Date: Mon, 5 Jun 2023 11:18:12 +0200 Subject: [PATCH] docs(populate): fix accidental removal of text --- docs/populate.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/populate.md b/docs/populate.md index 58226e65130..26f1b842852 100644 --- a/docs/populate.md +++ b/docs/populate.md @@ -473,7 +473,8 @@ const events = await Event. ```

Dynamic References via refPath

- + +Mongoose can also populate from multiple collections based on the value of a property in the document. Let's say you're building a schema for storing comments. A user may comment on either a blog post or a product.