Mongo.distinct

You're seeing just the function distinct, go back to Mongo module for more information.
Link to this function

distinct(topology_pid, coll, field, filter, opts \\ [])

View Source

Specs

Finds the distinct values for a specified field across a collection.

Options

  • :max_time - Specifies a time limit in milliseconds
  • :collation - Optionally specifies a collation to use in MongoDB 3.4 and