mirror of https://gitee.com/bigwinds/arangodb
added derived file
This commit is contained in:
parent
0a04083442
commit
bdf1cb0cdb
|
@ -79,7 +79,7 @@ exports.ArangoQueryCursor = ArangoQueryCursor;
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ArangoQueryCursor.prototype.toString = function () {
|
||||
var isCaptureModeActive = internal.isCaptureMode()
|
||||
var isCaptureModeActive = internal.isCaptureMode();
|
||||
var rows = [ ], i = 0;
|
||||
while (++i <= 10 && this.hasNext()) {
|
||||
rows.push(this.next());
|
||||
|
@ -100,7 +100,7 @@ ArangoQueryCursor.prototype.toString = function () {
|
|||
result += "]";
|
||||
|
||||
if (!isCaptureModeActive) {
|
||||
print(result);
|
||||
internal.print(result);
|
||||
result = "";
|
||||
}
|
||||
if (rows.length > 0) {
|
||||
|
@ -120,7 +120,7 @@ ArangoQueryCursor.prototype.toString = function () {
|
|||
}
|
||||
|
||||
if (!isCaptureModeActive) {
|
||||
print(result);
|
||||
internal.print(result);
|
||||
result = "";
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Reference in New Issue