我在使用findOneAndUpdate进行upserting时出错 ValidatedCertificates.findOneAndUpdate(
//queryDeprecationWarning: Mongoose: `findOneAndUpdate()` and `findOneAndDelete()` without the `useFindAndModify
findAndModify还是findOneAndUpdate还是findByIdAndUpdate?然后使用该数字将实际发票记录保存在发票表中)TypeError: seqkeysTable.findAndModify is not a functionvar mongoose= require('mongoose');var seqkeysSchema = new Sch