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
When using findOneAndReplace(), findOneAndDelete(), and findOneAndUpdate() a stdClass object is returned even though the typeMap option has been set to return arrays for both root and document.
The findOne() function returns the correct type, though.