Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types(models): allow specifying timestamps as inline option for bulkWrite() operations #14112

Merged
merged 2 commits into from Nov 23, 2023

Conversation

vkarpov15
Copy link
Collaborator

Fix #14072

Summary

You can set options like timestamps and strict on individual bulkWrite operations, that's handled in castBulkWrite(). This PR lets you set those options in TypeScript

Examples

types/models.d.ts Show resolved Hide resolved
@hasezoey hasezoey added the typescript Types or Types-test related issue / Pull Request label Nov 23, 2023
@vkarpov15 vkarpov15 merged commit d929f29 into master Nov 23, 2023
3 checks passed
@vkarpov15 vkarpov15 added this to the 8.0.2 milestone Nov 23, 2023
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-14072 branch November 23, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Types or Types-test related issue / Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incomplete argument types for Model.bulkWrite
3 participants