You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param {Object|Function} [options.match=null] Add an additional filter to the populate query. Can be a filter object containing [MongoDB query syntax](https://www.mongodb.com/docs/manual/tutorial/query-documents/), or a function that returns a filter object.
4510
4510
* @param {Function} [options.transform=null] Function that Mongoose will call on every populated document that allows you to transform the populated document.
4511
4511
* @param {Object} [options.options=null] Additional options like `limit` and `lean`.
4512
+
* @param {Boolean} [options.forceRepopulate=true] Set to `false` to prevent Mongoose from repopulating paths that are already populated
4513
+
* @param {Boolean} [options.ordered=false] Set to `true` to execute any populate queries one at a time, as opposed to in parallel. We recommend setting this option to `true` if using transactions, especially if also populating multiple paths or paths with multiple models. MongoDB server does **not** support multiple operations in parallel on a single transaction.
4512
4514
* @param {Function} [callback] Callback
4513
4515
* @see population https://mongoosejs.com/docs/populate.html
* @param {Object} [options.options=null] Additional options like `limit` and `lean`.
4370
4370
* @param {Function} [options.transform=null] Function that Mongoose will call on every populated document that allows you to transform the populated document.
4371
4371
* @param {Boolean} [options.forceRepopulate=true] Set to `false` to prevent Mongoose from repopulating paths that are already populated
4372
+
* @param {Boolean} [options.ordered=false] Set to `true` to execute any populate queries one at a time, as opposed to in parallel. Set this option to `true` if populating multiple paths or paths with multiple models in transactions.
0 commit comments