Skip to navigation
Unique index with mongodb
17.02.14
unique index with mongodb 1. # mongo 2. use mydb; 3. db.MY_COLLECTION.ensureIndex({MY_KEY_FIELD:1} , {unique : true});
Reply
Anonymous
Information Epoch 1732527628
When in doubt, use brute force.
Home
Notebook
Contact us