// Distinct return only distinct records
Distinct return only distinct records
// Distinct return only distinct records
func (find *Find) Distinct(ctx context.Context, fieldName string) ([]interface{}, error) {
	results, err := find.collection.Distinct(ctx, fieldName, find.query)
	return results, wrapMongoError(err)
}
func ( find * Find ) Distinct ( ctx context . Context , fieldName string ) ( [ ] interface { } , error ) { results , err := find . collection . Distinct ( ctx , fieldName , find . query ) return results , wrapMongoError ( err ) }
Distinct return only distinct records
Distinct return only distinct records