Can't create dynamical objects using typescript

后端 未结 0 1020
后悔当初
后悔当初 2021-01-20 23:20

I\'m trying to define a query object dynamically (which is used for some mongoDB method calling).

let query = {
  category: { $exists: true, $ne: [] }
}

if (isAd         


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