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
You're right: the issue is that we support autoCreate as a schema option and a connection option, but not a global option. Will add that in v5.10.9 to make it more consistent with autoIndex.
mongoose.set('autoCreate', true);
version v5.10.7
https://mongoosejs.com/docs/guide.html#autoCreate
The text was updated successfully, but these errors were encountered: