if you are getting a warning, '(node:9688) [MONGOOSE] DeprecationWarning: Mongoose: the strictQuery option will be switched back to false by default in Mongoose 7. Use mongoose.set('strictQuery', false); if you want to prepare for this change. Or use mongoose.set('strictQuery', true); to suppress this warning.
(Use node --trace-deprecation ... to show where the warning was created)'
if you are getting a warning, '(node:9688) [MONGOOSE] DeprecationWarning: Mongoose: the
strictQuery
option will be switched back tofalse
by default in Mongoose 7. Usemongoose.set('strictQuery', false);
if you want to prepare for this change. Or usemongoose.set('strictQuery', true);
to suppress this warning.(Use
node --trace-deprecation ...
to show where the warning was created)'