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

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

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

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

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