1
0
Fork 0
This commit is contained in:
Willi Goesgens 2015-08-05 09:19:10 +02:00
parent 9f31b0eb57
commit f44d246a34
2 changed files with 3 additions and 4 deletions

View File

@ -78,7 +78,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());
@ -99,7 +99,7 @@ ArangoQueryCursor.prototype.toString = function () {
result += "]";
if (!isCaptureModeActive) {
print(result);
internal.print(result);
result = "";
}
if (rows.length > 0) {
@ -119,7 +119,7 @@ ArangoQueryCursor.prototype.toString = function () {
}
if (!isCaptureModeActive) {
print(result);
internal.print(result);
result = "";
}
return result;

View File

@ -29,7 +29,6 @@
const joi = require('joi');
const Foxx = require('org/arangodb/foxx');
const deprecated = require('org/arangodb/deprecated');
const paramSchema = joi.string().optional().description('Foxx session ID');
// -----------------------------------------------------------------------------