Skip to content

Consistent top-level timestamps option for bulkWrite operations #14536

@vkarpov15

Description

@vkarpov15

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Mongoose version

7.x, 8.x

Node.js version

Doesn't matter

MongoDB server version

Doesn't matter

Typescript version (if applicable)

No response

Description

Re: #14513 (comment), only insertOne supports timestamps option, other bulkWrite operators like updateOne and updateMany do not.

Steps to Reproduce

See description

Expected Behavior

All bulkWrite operators should support timestamps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions