We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4e4438 commit a96fa26Copy full SHA for a96fa26
2 files changed
src/db.ts
@@ -394,7 +394,6 @@ export class Db {
394
toCollection,
395
resolveOptions(undefined, {
396
...options,
397
- new_collection: true,
398
readPreference: ReadPreference.primary
399
})
400
) as TODO_NODE_3286
src/operations/rename.ts
@@ -11,7 +11,12 @@ import { Aspect, defineAspects } from './operation';
11
export interface RenameOptions extends Omit<CommandOperationOptions, 'rawData'> {
12
/** Drop the target name collection if it previously exists. */
13
dropTarget?: boolean;
14
- /** Unclear */
+ /**
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
+ */
20
new_collection?: boolean;
21
}
22
0 commit comments