From 1eb99c527b31fa832e540bc413e46ed990bddd90 Mon Sep 17 00:00:00 2001 From: Alan Plum Date: Mon, 14 Dec 2015 13:04:44 +0100 Subject: [PATCH] Add @arangodb/db --- js/common/modules/@arangodb/db.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 js/common/modules/@arangodb/db.js diff --git a/js/common/modules/@arangodb/db.js b/js/common/modules/@arangodb/db.js new file mode 100644 index 0000000000..43aeaa3e53 --- /dev/null +++ b/js/common/modules/@arangodb/db.js @@ -0,0 +1,30 @@ +'use strict'; + +//////////////////////////////////////////////////////////////////////////////// +/// @brief Convenience export for require('@arangodb').db +/// +/// @file +/// +/// DISCLAIMER +/// +/// Copyright 2015 triagens GmbH, Cologne, Germany +/// +/// Licensed under the Apache License, Version 2.0 (the "License"); +/// you may not use this file except in compliance with the License. +/// You may obtain a copy of the License at +/// +/// http://www.apache.org/licenses/LICENSE-2.0 +/// +/// Unless required by applicable law or agreed to in writing, software +/// distributed under the License is distributed on an "AS IS" BASIS, +/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +/// See the License for the specific language governing permissions and +/// limitations under the License. +/// +/// Copyright holder is triAGENS GmbH, Cologne, Germany +/// +/// @author Alan Plum +/// @author Copyright 2015, triAGENS GmbH, Cologne, Germany +//////////////////////////////////////////////////////////////////////////////// + +module.exports = require('@arangodb').db;