mirror of https://gitee.com/bigwinds/arangodb
do not cache collection status
This commit is contained in:
parent
610df5ce35
commit
27e59aa9a3
|
@ -441,6 +441,8 @@ ArangoDatabase.prototype._flushCache = function () {
|
|||
var collection = this[name];
|
||||
|
||||
if (collection instanceof this._collectionConstructor) {
|
||||
// reset the collection status
|
||||
collection._status = null;
|
||||
this[name] = undefined;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -440,6 +440,8 @@ ArangoDatabase.prototype._flushCache = function () {
|
|||
var collection = this[name];
|
||||
|
||||
if (collection instanceof this._collectionConstructor) {
|
||||
// reset the collection status
|
||||
collection._status = null;
|
||||
this[name] = undefined;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue