File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -394,7 +394,6 @@ export class Db {
394394 toCollection ,
395395 resolveOptions ( undefined , {
396396 ...options ,
397- new_collection : true ,
398397 readPreference : ReadPreference . primary
399398 } )
400399 ) as TODO_NODE_3286
Original file line number Diff line number Diff line change @@ -11,7 +11,12 @@ import { Aspect, defineAspects } from './operation';
1111export interface RenameOptions extends Omit < CommandOperationOptions , 'rawData' > {
1212 /** Drop the target name collection if it previously exists. */
1313 dropTarget ?: boolean ;
14- /** Unclear */
14+ /**
15+ * @deprecated
16+ *
17+ * This option has been dead code since at least Node driver version 4.x. It will
18+ * be removed in a future major release.
19+ */
1520 new_collection ?: boolean ;
1621}
1722
You can’t perform that action at this time.
0 commit comments