Skip to content

Commit 5822732

Browse files
authored
6.x populate.md: fix edit whoopsie scrapping a line a setting half of the document in an unclosed code tag
See https://mongoosejs.com/docs/6.x/docs/populate.html#dynamic-ref
1 parent eb34bd3 commit 5822732

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/populate.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,8 @@ const events = await Event.
487487
```
488488

489489
<h2 id="dynamic-ref"><a href="#dynamic-ref">Dynamic References via <code>refPath</code></a></h2>
490-
<code>
490+
491+
Mongoose can also populate from multiple collections based on the value
491492
of a property in the document. Let's say you're building a schema for
492493
storing comments. A user may comment on either a blog post or a product.
493494

0 commit comments

Comments
 (0)