2015-12-03

MongoDB - Unique index creation

db.COLL_NAME.createIndex( { FIELD_NAME : 1 }, { unique: true } );
 

No comments:

Post a Comment