We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5138359 commit ba59769Copy full SHA for ba59769
1 file changed
src/operations/distinct.ts
@@ -84,9 +84,9 @@ export class DistinctOperation extends CommandOperation<any[]> {
84
cmd.comment = options.comment;
85
}
86
87
- // if (options.hint != null) {
88
- cmd.hint = options.hint;
89
- // }
+ if (options.hint != null) {
+ cmd.hint = options.hint;
+ }
90
91
// Do we have a readConcern specified
92
decorateWithReadConcern(cmd, coll, options);
0 commit comments