mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
This commit is contained in:
commit
f7735391df
|
@ -1036,7 +1036,7 @@ bool RestDocumentHandler::replaceDocument () {
|
|||
///
|
||||
/// @RESTQUERYPARAMETERS
|
||||
///
|
||||
/// @RESTQUERYPARAM{keepNull,string,optional}
|
||||
/// @RESTQUERYPARAM{keepNull,boolean,optional}
|
||||
/// If the intention is to delete existing attributes with the patch command,
|
||||
/// the URL query parameter `keepNull` can be used with a value of `false`.
|
||||
/// This will modify the behavior of the patch command to remove any attributes
|
||||
|
|
|
@ -574,7 +574,7 @@ bool RestEdgeHandler::createDocument () {
|
|||
///
|
||||
/// @RESTQUERYPARAMETERS
|
||||
///
|
||||
/// @RESTQUERYPARAM{keepNull,string,optional}
|
||||
/// @RESTQUERYPARAM{keepNull,boolean,optional}
|
||||
/// If the intention is to delete existing attributes with the patch command,
|
||||
/// the URL query parameter `keepNull` can be used with a value of `false`.
|
||||
/// This will modify the behavior of the patch command to remove any attributes
|
||||
|
|
|
@ -1475,7 +1475,7 @@ function delete_api_structure (req, res) {
|
|||
///
|
||||
/// @RESTQUERYPARAMETERS
|
||||
///
|
||||
/// @RESTQUERYPARAM{keepNull,string,optional}
|
||||
/// @RESTQUERYPARAM{keepNull,boolean,optional}
|
||||
/// If the intention is to delete existing attributes with the patch command,
|
||||
/// the URL query parameter `keepNull` can be used with a value of `false`.
|
||||
/// This will modify the behavior of the patch command to remove any attributes
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
// cannot use strict here as we are going to delete globals
|
||||
|
||||
var exports = require("internal");
|
||||
var fs = require("fs");
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --SECTION-- Module "internal"
|
||||
|
|
|
@ -271,7 +271,7 @@ exports.printTable = function (list, columns, options) {
|
|||
}
|
||||
|
||||
var pad = '...';
|
||||
var descriptions, matrix, col, what, j, value;
|
||||
var descriptions, matrix, col, what, j;
|
||||
|
||||
if (columns === undefined) {
|
||||
what = list[0];
|
||||
|
|
|
@ -30,9 +30,7 @@ module.define("org/arangodb/graph", function(exports, module) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
var arangodb = require("org/arangodb"),
|
||||
arangosh = require("org/arangodb/arangosh"),
|
||||
is = require("org/arangodb/is"),
|
||||
ArangoQueryCursor = require("org/arangodb/arango-query-cursor").ArangoQueryCursor,
|
||||
common = require("org/arangodb/graph-common"),
|
||||
Edge = common.Edge,
|
||||
Graph = common.Graph,
|
||||
|
|
|
@ -32,7 +32,6 @@ exports.Swagger = function () {
|
|||
"use strict";
|
||||
|
||||
var db = require("internal").db,
|
||||
_routing = db._collection("_routing"),
|
||||
_aal = db._collection("_aal"),
|
||||
_ = require("underscore"),
|
||||
foxx_manager = require("org/arangodb/foxx/manager");
|
||||
|
|
|
@ -1088,7 +1088,7 @@ exports.config = function () {
|
|||
exports.configJson = function () {
|
||||
'use strict';
|
||||
|
||||
var res = arango.GET("/_admin/foxx/config"), name;
|
||||
var res = arango.GET("/_admin/foxx/config");
|
||||
|
||||
arangosh.checkRequestResult(res);
|
||||
|
||||
|
|
|
@ -29,9 +29,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
var arangodb = require("org/arangodb"),
|
||||
arangosh = require("org/arangodb/arangosh"),
|
||||
is = require("org/arangodb/is"),
|
||||
ArangoQueryCursor = require("org/arangodb/arango-query-cursor").ArangoQueryCursor,
|
||||
common = require("org/arangodb/graph-common"),
|
||||
Edge = common.Edge,
|
||||
Graph = common.Graph,
|
||||
|
|
|
@ -270,7 +270,7 @@ exports.printTable = function (list, columns, options) {
|
|||
}
|
||||
|
||||
var pad = '...';
|
||||
var descriptions, matrix, col, what, j, value;
|
||||
var descriptions, matrix, col, what, j;
|
||||
|
||||
if (columns === undefined) {
|
||||
what = list[0];
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
var graph = require("org/arangodb/graph");
|
||||
|
||||
var Edge = graph.Edge;
|
||||
var Graph = graph.Graph;
|
||||
var Vertex = graph.Vertex;
|
||||
|
||||
|
|
|
@ -182,7 +182,6 @@ extend(RequestContext.prototype, {
|
|||
pathParam: function (paramName, attributes) {
|
||||
'use strict';
|
||||
var url = this.route.url,
|
||||
docs = this.route.docs,
|
||||
constraint = url.constraint || {};
|
||||
|
||||
constraint[paramName] = this.typeToRegex[attributes.type];
|
||||
|
|
Loading…
Reference in New Issue