Mongo.distinct
You're seeing just the function
distinct
, go back to Mongo module for more information.
Specs
distinct( GenServer.server(), collection(), String.t() | atom(), BSON.document(), Keyword.t() ) :: result([BSON.t()])
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