def distinct(field_name, filter = nil, options = {})
      View.new(self, filter || {}, options).distinct(field_name, options)
    end
def distinct(field_name, filter = nil, options = {})
      View.new(self, filter || {}, options).distinct(field_name, options)
    end
Get a list of distinct values for a specific field.

 @example Get the distinct values.
   collection.distinct('name')

 @param [ Symbol, String ] field_name The name of the field.
 @param [ Hash ] filter The documents from which to retrieve the distinct values.
 @param [ Hash ] options The distinct command options.

 @option options [ Integer ] :max_time_ms The maximum amount of time to allow the command to run.
 @option options [ Hash ] :read The read preference options.
 @option options [ Hash ] :collation The collation to use.
 @option options [ Session ] :session The session to use.

 @return [ Array<Object> ] The list of distinct values.

 @since 2.1.0