2016-01-07

MongoDB - How to get all distinct values of a given field

db.COLLECTION_NAME.distinct( "FIELD_NAME" );

No comments:

Post a Comment