From f4c9b4bc7a650afff39dffbcd037aa256180fab3 Mon Sep 17 00:00:00 2001 From: Jan Steemann Date: Thu, 30 Jan 2014 23:31:03 +0100 Subject: [PATCH] documentation updates --- .../modules/org/arangodb/arango-collection.js | 47 +------------------ 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/js/server/modules/org/arangodb/arango-collection.js b/js/server/modules/org/arangodb/arango-collection.js index 79e16804b6..173f7fb80a 100644 --- a/js/server/modules/org/arangodb/arango-collection.js +++ b/js/server/modules/org/arangodb/arango-collection.js @@ -38,11 +38,6 @@ var internal = require("internal"); // --SECTION-- constructors and destructors // ----------------------------------------------------------------------------- -//////////////////////////////////////////////////////////////////////////////// -/// @addtogroup ArangoShell -/// @{ -//////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// /// @brief constructor //////////////////////////////////////////////////////////////////////////////// @@ -57,19 +52,10 @@ var simple = require("org/arangodb/simple-query"); var ArangoError = require("org/arangodb").ArangoError; var ArangoDatabase = require("org/arangodb/arango-database").ArangoDatabase; -//////////////////////////////////////////////////////////////////////////////// -/// @} -//////////////////////////////////////////////////////////////////////////////// - // ----------------------------------------------------------------------------- // --SECTION-- private functions // ----------------------------------------------------------------------------- -//////////////////////////////////////////////////////////////////////////////// -/// @addtogroup ArangoShell -/// @{ -//////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// /// @brief converts collection into an array /// @@ -89,19 +75,10 @@ ArangoCollection.prototype.toArray = function () { return this.ALL(null, null).documents; }; -//////////////////////////////////////////////////////////////////////////////// -/// @} -//////////////////////////////////////////////////////////////////////////////// - // ----------------------------------------------------------------------------- // --SECTION-- public functions // ----------------------------------------------------------------------------- -//////////////////////////////////////////////////////////////////////////////// -/// @addtogroup ArangoShell -/// @{ -//////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// /// @brief truncates a collection /// @@ -131,19 +108,10 @@ ArangoCollection.prototype.truncate = function () { return internal.db._truncate(this); }; -//////////////////////////////////////////////////////////////////////////////// -/// @} -//////////////////////////////////////////////////////////////////////////////// - // ----------------------------------------------------------------------------- // --SECTION-- index functions // ----------------------------------------------------------------------------- -//////////////////////////////////////////////////////////////////////////////// -/// @addtogroup ArangoShell -/// @{ -//////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// /// @brief finds an index of a collection /// @@ -196,19 +164,10 @@ ArangoCollection.prototype.index = function (id) { throw err; }; -//////////////////////////////////////////////////////////////////////////////// -/// @} -//////////////////////////////////////////////////////////////////////////////// - // ----------------------------------------------------------------------------- // --SECTION-- document functions // ----------------------------------------------------------------------------- -//////////////////////////////////////////////////////////////////////////////// -/// @addtogroup ArangoShell -/// @{ -//////////////////////////////////////////////////////////////////////////////// - //////////////////////////////////////////////////////////////////////////////// /// @brief returns any document from a collection /// @@ -337,7 +296,7 @@ ArangoCollection.prototype.first = function (count) { /// /// @FUN{@FA{collection}.last(@FA{count})} /// -/// The @FN{lst} method returns the n last documents from the collection, in +/// The @FN{last} method returns the n last documents from the collection, in /// order of document insertion/update time. /// /// If called with the @FA{count} argument, the result is a list of up to @@ -682,10 +641,6 @@ ArangoCollection.prototype.updateByExample = function (example, return updated; }; -//////////////////////////////////////////////////////////////////////////////// -/// @} -//////////////////////////////////////////////////////////////////////////////// - // ----------------------------------------------------------------------------- // --SECTION-- END-OF-FILE // -----------------------------------------------------------------------------