Increment value in map {'$inc':{“tags.Key”: 1}} makes newkey named Key rather than Key value in nodejs and mongoose

后端 未结 0 1937
清歌不尽
清歌不尽 2020-12-06 05:18

Iam trying to increment individual tags which are stored as map

const mongoose = require(\'mongoose\')
const validator = require(\'validator\')
const question         


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