|
|
@ -1062,7 +1062,7 @@ class Datastore extends EventEmitter { |
|
|
|
* - If `options.returnUpdatedDocs` is `false`, `null`; |
|
|
|
* - If `options.returnUpdatedDocs` is `false`, `null`; |
|
|
|
* - If `options.returnUpdatedDocs` is `true`: |
|
|
|
* - If `options.returnUpdatedDocs` is `true`: |
|
|
|
* - If `options.multi` is `false`, the updated document; |
|
|
|
* - If `options.multi` is `false`, the updated document; |
|
|
|
* - If `options.multi` is `false`, the array of updated documents. |
|
|
|
* - If `options.multi` is `true`, the array of updated documents. |
|
|
|
* @async |
|
|
|
* @async |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
updateAsync (query, update, options = {}) { |
|
|
|
updateAsync (query, update, options = {}) { |
|
|
|