reymesson1 / septimoejercicio

1 stars 0 forks source link

creating counter doing some testing #98

Closed reymesson1 closed 4 years ago

reymesson1 commented 4 years ago

Description: When the order are creating the information, should be incremented by a numbers.

Step by reproduce: Create a new order and then you will see in the Master Table the order number incremented.

Expected behavior: Each order should incremented automatically. No matter if other order are remove.

Observed behavior:
Before the order where created by the length on the Collection. But now the order are increment in feed by a new Collections called ...

Impact: High

Environment: Prod: Waiting windows. Test: Working fine.

reymesson1 commented 4 years ago

{ "_id" : ObjectId("5d287f5f6e795adb18ec651c"), "quantity" : 40 }

reymesson1 commented 4 years ago

db.counters.find()