mgeneratejs icon indicating copy to clipboard operation
mgeneratejs copied to clipboard

Not possible to use $inc more than 1 time

Open afsungur opened this issue 5 years ago • 0 comments

Hi,

If I use "$inc" more than one time, it continues to increase by using the previous $inc value. version 0.5.1 in MacOs Catalina.

"accountId": { "$inc": { "start": 52000000 } }

"accountNumber": { "$inc": { "start": 100 } }

Example data:

{"accountId":52000000,"customerId":21667,"accountNumber":52000001}

afsungur avatar Nov 22 '19 09:11 afsungur