You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Future server versions may no longer require a shard key in updateOne (DRIVERS-817). This may also extend to deleteOne and findAndModify. I believe ODM currently injects the shard key into queries to satisfy the requirement for current server versions, but this is something that may be possible to relax down the line. Opening this issue as a preemptive tracking ticket.
There is a separate initiative to relax this requirement for updateMany (DRIVERS-818); however, that is being scoped/designed independently and may come in a later server version than updateOne support.
The text was updated successfully, but these errors were encountered:
Feature Request
Summary
Future server versions may no longer require a shard key in updateOne (DRIVERS-817). This may also extend to deleteOne and findAndModify. I believe ODM currently injects the shard key into queries to satisfy the requirement for current server versions, but this is something that may be possible to relax down the line. Opening this issue as a preemptive tracking ticket.
There is a separate initiative to relax this requirement for updateMany (DRIVERS-818); however, that is being scoped/designed independently and may come in a later server version than updateOne support.
The text was updated successfully, but these errors were encountered: