Possible use `$set + $inc on upsert`?


#1

Possible use Collection.upsert({}, {$set: {}, $inc: {}})?
Please help me


#2

Your question isn’t clear, what are you trying to do ?

Here’s a Stack Overflow issue that seems to address your problem.


#3

Thanks for your reply.
I would like to use $set + $inc on upsert.