We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When joining a password protected private room with MongoDB version 3.6.3, error is thrown: MongoError: Unknown modifier: $pushAll
$pushAll has been deprecated since 2.4 and it is no longer in MongoDB 3.6.3.
To fix, add { usePushEach: true } to the var RoomSchema in app/models/room.js
Previously: var RoomSchema = new mongoose.Schema({ ... });
New: var RoomSchema = new mongoose.Schema({ ... }, { usePushEach: true });
The text was updated successfully, but these errors were encountered:
I had the same problem, and that was the solution.
Automattic/mongoose#5574 (comment)
Sorry, something went wrong.
No branches or pull requests
When joining a password protected private room with MongoDB version 3.6.3, error is thrown:
MongoError: Unknown modifier: $pushAll
$pushAll has been deprecated since 2.4 and it is no longer in MongoDB 3.6.3.
To fix, add { usePushEach: true } to the var RoomSchema in app/models/room.js
Previously:
var RoomSchema = new mongoose.Schema({
...
});
New:
var RoomSchema = new mongoose.Schema({
...
}, { usePushEach: true });
The text was updated successfully, but these errors were encountered: