1
0
Fork 0

added derived file

This commit is contained in:
jsteemann 2015-12-16 19:51:31 +01:00
parent deb6c14bf4
commit d0d8ec208d
1 changed files with 10 additions and 1 deletions

View File

@ -126,7 +126,16 @@ GeneralArrayCursor.prototype.execute = function () {
GeneralArrayCursor.prototype._PRINT = function (context) {
var text;
text = "GeneralArrayCursor([.. " + this._documents.length + " docs .., cached: " + String(this._cached) + "])";
text = "GeneralArrayCursor([.. " + this._documents.length + " docs .., cached: " + String(this._cached);
if (this.hasOwnProperty("_extra") &&
this._extra.hasOwnProperty("warnings")) {
for (var j = 0; j < this._extra.warnings.length; j++) {
text += ", WARNING: " + this._extra.warnings[j].code +
" - " + this._extra.warnings[j].message;
}
}
text += "])";
if (this._skip !== null && this._skip !== 0) {
text += ".skip(" + this._skip + ")";