Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,6 @@ export class Db {
toCollection,
resolveOptions(undefined, {
...options,
new_collection: true,
readPreference: ReadPreference.primary
})
) as TODO_NODE_3286
Expand Down
7 changes: 6 additions & 1 deletion src/operations/rename.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ import { Aspect, defineAspects } from './operation';
export interface RenameOptions extends Omit<CommandOperationOptions, 'rawData'> {
/** Drop the target name collection if it previously exists. */
dropTarget?: boolean;
/** Unclear */
/**
* @deprecated
*
* This option has been dead code since at least Node driver version 4.x. It will
* be removed in a future major release.
*/
new_collection?: boolean;
}

Expand Down