O
O
olezhenka2018-04-28 14:16:18
MongoDB
olezhenka, 2018-04-28 14:16:18

How to set up a population where there can be several models in one array?

Let's say I have collections a, b, c.
And there is also a collection l, which stores an array where _id from a, b, c should be placed.
I would like to make a population in l in one array so that it returns me all the data from a, b, c.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question