Add getAllSubdocs()
to public API
#9545
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
Milestone
Right now Mongoose documents have an internal
$__getAllSubdocs()
function that returns an array of all single nested subdocuments and document array elements. We should add that to the public API because this function is useful for cases like #9525The text was updated successfully, but these errors were encountered: