Parameter | Explanation |
---|---|
path | <Object, String> either the path to populate or an object specifying all parameters |
[select] | <Object, String> Field selection for the population query (can use '-id' to include everything but the id field) |
[model] | <Model> The model you wish to use for population.If not specified, populate will look up the model by the name in the Schema's ref field. |
[match] | <Object> Conditions for the population |
[options] | <Object> Options for the population query (sort, etc) |