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
At 02:25 , overwrite:true was written as option in PUT request and to implement it default:false was removed from Schema.js.However as of now in March 2023 , I can see that overwrite:true is no more working even if changing schema. I think something has changed.
Anyone having any idea ?
The text was updated successfully, but these errors were encountered:
Based on ChatGPT, the overwrite option still exists in mongoose.js v7 (latest at the time of this answer). But I was unable to find the overwrite option in the docs so take this answer with a grain of salt.
At 02:25 , overwrite:true was written as option in PUT request and to implement it
default:false
was removed from Schema.js.However as of now in March 2023 , I can see thatoverwrite:true
is no more working even if changing schema. I think something has changed.Anyone having any idea ?
The text was updated successfully, but these errors were encountered: