mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 00:56:44 +01:00
Additional fix for cloneCollection() js function
This commit is contained in:
parent
c7496cc9bf
commit
e910263ed2
@ -176,7 +176,7 @@ DB.prototype.cloneCollection = function(from, collection, query) {
|
||||
collection = this._name + "." + collection;
|
||||
query = query || {};
|
||||
//this.resetIndexCache();
|
||||
return this._dbCommand( { cloneCollection:collection, fromhost:from, query:query } );
|
||||
return this._dbCommand( { cloneCollection:collection, from:from, query:query } );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user