mirror of https://gitee.com/bigwinds/arangodb
Lintify.
This commit is contained in:
parent
9f31b0eb57
commit
f44d246a34
|
@ -78,7 +78,7 @@ exports.ArangoQueryCursor = ArangoQueryCursor;
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
ArangoQueryCursor.prototype.toString = function () {
|
ArangoQueryCursor.prototype.toString = function () {
|
||||||
var isCaptureModeActive = internal.isCaptureMode()
|
var isCaptureModeActive = internal.isCaptureMode();
|
||||||
var rows = [ ], i = 0;
|
var rows = [ ], i = 0;
|
||||||
while (++i <= 10 && this.hasNext()) {
|
while (++i <= 10 && this.hasNext()) {
|
||||||
rows.push(this.next());
|
rows.push(this.next());
|
||||||
|
@ -99,7 +99,7 @@ ArangoQueryCursor.prototype.toString = function () {
|
||||||
result += "]";
|
result += "]";
|
||||||
|
|
||||||
if (!isCaptureModeActive) {
|
if (!isCaptureModeActive) {
|
||||||
print(result);
|
internal.print(result);
|
||||||
result = "";
|
result = "";
|
||||||
}
|
}
|
||||||
if (rows.length > 0) {
|
if (rows.length > 0) {
|
||||||
|
@ -119,7 +119,7 @@ ArangoQueryCursor.prototype.toString = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isCaptureModeActive) {
|
if (!isCaptureModeActive) {
|
||||||
print(result);
|
internal.print(result);
|
||||||
result = "";
|
result = "";
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
|
|
||||||
const joi = require('joi');
|
const joi = require('joi');
|
||||||
const Foxx = require('org/arangodb/foxx');
|
const Foxx = require('org/arangodb/foxx');
|
||||||
const deprecated = require('org/arangodb/deprecated');
|
|
||||||
const paramSchema = joi.string().optional().description('Foxx session ID');
|
const paramSchema = joi.string().optional().description('Foxx session ID');
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue