////////////////////////////////////////////////////////////////////////////////
/// @brief avocado shell
///
/// @file
///
/// DISCLAIMER
///
/// Copyright 2012 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 Dr. Frank Celler
/// @author Copyright 2012, triAGENS GmbH, Cologne, Germany
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/// @page ShellCollectionTOC
///
///
/// - @ref ShellCollectionIntro
/// - @ref ShellCollectionResource
/// - @ref ShellCollectionShell
/// @copydetails ShellCollectionCallsTOC
///
///
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/// @page ShellCollectionCallsTOC
///
///
/// - @ref ShellCollectionCollectionMethods
///
/// - @ref ShellCollectionDrop "collection.drop()"
/// - @ref ShellCollectionTruncate "collection.truncate()"
/// - @ref ShellCollectionProperties "collection.properties()"
/// - @ref ShellCollectionFigures "collection.figures()"
/// - @ref ShellCollectionLoad "collection.load()"
/// - @ref ShellCollectionUnload "collection.unload()"
/// - @ref ShellCollectionUnload "collection.rename(new-name)"
///
///
/// - @ref ShellCollectionDatabaseMethods
///
/// - @ref ShellCollectionRead "db._collection(collection-identifier)"
/// - @ref ShellCollectionCreate "db._create(collection-name, properties)"
/// - @ref ShellCollectionReadAll "db._collections()"
/// - @ref ShellCollectionReadShortCut "db.collection-name"
/// - @ref ShellCollectionDropDb "db._drop(collection)"
/// - @ref ShellCollectionTruncateDb "db._truncate(collection)"
///
///
///
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/// @page ShellCollection AvocadoDB Interface for Collections
///
/// This is an introduction to AvocadoDB's interface for collections.
///
///
/// @copydoc ShellCollectionTOC
///
///
/// @section ShellCollectionIntro Collections
/////////////////////////////////////////////
///
/// @copydoc GlossaryCollection
///
/// @copydoc GlossaryCollectionIdentifier
///
/// @copydoc GlossaryCollectionName
///
/// @section ShellCollectionResource Address of a Collection
////////////////////////////////////////////////////////////
///
/// All collections in AvocadoDB have an unique identifier. This collection
/// identifier identifies a collection and is managed by
/// AvocadoDB. Each collection, in addition, has a unique name. This
/// name is managed by the user. The interface allows you to access
/// the collections as:
///
/// @LIT{db._collection(@FA{collection-identifier})}
///
/// or
///
/// @LIT{db._collection(@FA{collection-name})}
///
/// For example: Assume that the collection identifier is
/// @LIT{7254820} and the name is @LIT{demo}, then the collection can
/// be accessed as:
///
/// @LIT{db._collection("demo")}
///
/// or
///
/// @LIT{db._collection(7254820)}
///
/// If no collection with such a name or identifier exists, then
/// @LIT{null} is returned.
///
/// There is a short-cut
///
/// @LIT{db.@FA{collection-name}}
///
/// This call will either return the collection named @FA{collection-name}
/// or create a new one which that name and a set of default
/// properties.
///
/// @section ShellCollectionShell Working with Collections
//////////////////////////////////////////////////////////
///
/// @subsection ShellCollectionCollectionMethods Collection Methods
///////////////////////////////////////////////////////////////////
///
/// @anchor ShellCollectionDrop
/// @copydetails JS_DropVocbaseCol
///
///
/// @anchor ShellCollectionTruncate
/// @copydetails JSF_AvocadoCollection_prototype_truncate
///
///
/// @anchor ShellCollectionProperties
/// @copydetails JS_PropertiesVocbaseCol
///
///
/// @anchor ShellCollectionFigures
/// @copydetails JS_FiguresVocbaseCol
///
///
/// @anchor ShellCollectionLoad
/// @copydetails JS_LoadVocbaseCol
///
///
/// @anchor ShellCollectionUnload
/// @copydetails JS_UnloadVocbaseCol
///
///
/// @anchor ShellCollectionRename
/// @copydetails JS_RenameVocbaseCol
///
///
/// @subsection ShellCollectionDatabaseMethods Database Methods
///////////////////////////////////////////////////////////////
///
/// @anchor ShellCollectionRead
/// @copydetails JS_CollectionVocBase
///
///
/// @anchor ShellCollectionCreate
/// @copydetails JS_CreateVocBase
///
///
/// @anchor ShellCollectionReadAll
/// @copydetails JS_CollectionsVocBase
///
///
/// @anchor ShellCollectionReadShortCut
/// @copydetails MapGetVocBase
///
///
/// @anchor ShellCollectionDropDb
/// @copydetails JSF_AvocadoDatabase_prototype__drop
///
///
/// @anchor ShellCollectionTruncateDb
/// @copydetails JSF_AvocadoDatabase_prototype__truncate
////////////////////////////////////////////////////////////////////////////////
// Local Variables:
// mode: c++
// mode: outline-minor
// outline-regexp: "^\\(/// @brief\\|/// {@inheritDoc}\\|/// @addtogroup\\|// --SECTION--\\|/// @page\\|/// @\\}\\)"
// End: