mongodb list all possible values for a filed code example Example: list values of a column mongo db.collection.distinct('key_value')