Mongoose get and set not working on Array Fields

后端 未结 0 883
感动是毒
感动是毒 2021-02-09 14:40

I have a collection where I have to store array of userNames which needs to be encrypted(Don\'t ask why!).

const UserNameSchema = mongoose.Schema({
    // Other F         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题