mgeneratejs
mgeneratejs copied to clipboard
Not possible to use $inc more than 1 time
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}