Fix mongo findOneAndUpdate
This commit is contained in:
parent
e2a1d8c880
commit
456edfa7b4
|
@ -518,7 +518,10 @@ class MongoIntegration implements IntegrationBase {
|
|||
return await collection.findOneAndUpdate(
|
||||
findAndUpdateJson.filter,
|
||||
findAndUpdateJson.update,
|
||||
findAndUpdateJson.options
|
||||
{
|
||||
...findAndUpdateJson.options,
|
||||
includeResultMetadata: true,
|
||||
}
|
||||
)
|
||||
}
|
||||
case "count": {
|
||||
|
|
Loading…
Reference in New Issue