You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to make this work across DB ,so that every DB maintains its own collection IdentityCounter but found that its just creating it on the primary connection
I have added a test here if you want to have a look
I was trying to make this work across DB ,so that every DB maintains its own collection IdentityCounter but found that its just creating it on the primary connection
I have added a test here if you want to have a look
https://github.com/anoopsinghbayes/mongoose-plugin-autoinc/blob/71780f3e5d0b65000f725e450b4e28210d2fbd74/src/__tests__/index-test.js#L436
(note could'nt install mongodb-memory-server hence my test use MongoDB instance )
The text was updated successfully, but these errors were encountered: