Hi @Sooraj_S,
Once you have migrated to 6.0.0+, includeResultMetadata: false is the default behavior. If your application relies on the previous behavior of these APIs, setting includeResultMetadata: true will allow you to continue to access the ModifyResult directly. Please refer to the documentation to learn more.
Also, refer to this post to read more about the changes in Node.js Driver 6.0.0.
I hope it helps!
Best regards,
Kushagra