DBQuery.prototype.h = function (col) {
this._prettyShell = true;
this['_' + col] = getTime(this[col]);
return this
}
开始是用上边的写法,发现 BSON 数据不能按 js object 来处理,大家有没有什么好的办法呢?
this._prettyShell = true;
this['_' + col] = getTime(this[col]);
return this
}
开始是用上边的写法,发现 BSON 数据不能按 js object 来处理,大家有没有什么好的办法呢?
