1
0
Fork 0

Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel

This commit is contained in:
Michael Hackstein 2013-05-31 10:39:29 +02:00
commit 70996d3401
3 changed files with 19 additions and 19 deletions

View File

@ -510,7 +510,7 @@ bool RestDocumentHandler::readDocument () {
///
/// Use a document handle:
///
/// @EXAMPLE_ARANGOSH_RUN{RestReadDocument}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerReadDocument}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -527,7 +527,7 @@ bool RestDocumentHandler::readDocument () {
///
/// Use a document handle and an etag:
///
/// @EXAMPLE_ARANGOSH_RUN{RestReadDocumentIfNoneMatch}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerReadDocumentIfNoneMatch}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -545,7 +545,7 @@ bool RestDocumentHandler::readDocument () {
///
/// Unknown document handle:
///
/// @EXAMPLE_ARANGOSH_RUN{RestReadDocumentUnknownHandle}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerReadDocumentUnknownHandle}
/// var url = "/_api/document/products/unknownhandle";
///
/// var response = logCurlRequest('GET', url);
@ -666,7 +666,7 @@ bool RestDocumentHandler::readSingleDocument (bool generateBody) {
///
/// Returns a collection.
///
/// @EXAMPLE_ARANGOSH_RUN{RestReadDocumentAll}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerReadDocumentAll}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -685,7 +685,7 @@ bool RestDocumentHandler::readSingleDocument (bool generateBody) {
///
/// Collection does not exist.
///
/// @EXAMPLE_ARANGOSH_RUN{RestReadDocumentAllCollectionDoesNotExist}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerReadDocumentAllCollectionDoesNotExist}
/// var cn = "doesnotexist";
/// db._drop(cn);
/// var url = "/_api/document/?collection=" + cn;
@ -811,7 +811,7 @@ bool RestDocumentHandler::readAllDocuments () {
///
/// @EXAMPLES
///
/// @EXAMPLE_ARANGOSH_RUN{RestReadDocumentHead}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerReadDocumentHead}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -962,7 +962,7 @@ bool RestDocumentHandler::checkDocument () {
///
/// Using document handle:
///
/// @EXAMPLE_ARANGOSH_RUN{RestUpdateDocument}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerUpdateDocument}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -979,7 +979,7 @@ bool RestDocumentHandler::checkDocument () {
///
/// Unknown document handle:
///
/// @EXAMPLE_ARANGOSH_RUN{RestUpdateDocumentUnknownHandle}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerUpdateDocumentUnknownHandle}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -997,7 +997,7 @@ bool RestDocumentHandler::checkDocument () {
///
/// Produce a revision conflict:
///
/// @EXAMPLE_ARANGOSH_RUN{RestUpdateDocumentIfMatchOther}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerUpdateDocumentIfMatchOther}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -1016,7 +1016,7 @@ bool RestDocumentHandler::checkDocument () {
///
/// Last write wins:
///
/// @EXAMPLE_ARANGOSH_RUN{RestUpdateDocumentIfMatchOtherLastWriteWins}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerUpdateDocumentIfMatchOtherLastWriteWins}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -1034,7 +1034,7 @@ bool RestDocumentHandler::checkDocument () {
///
/// Alternative to header field:
///
/// @EXAMPLE_ARANGOSH_RUN{RestUpdateDocumentRevOther}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerUpdateDocumentRevOther}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -1151,7 +1151,7 @@ bool RestDocumentHandler::replaceDocument () {
///
/// patches an existing document with new content.
///
/// @EXAMPLE_ARANGOSH_RUN{RestPatchDocument}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerPatchDocument}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -1392,7 +1392,7 @@ bool RestDocumentHandler::modifyDocument (bool isPatch) {
///
/// Using document handle:
///
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerDELETEDocument}
/// @EXAMPLE_ARANGOSH_RUN{RestDocumentHandlerDeleteDocument}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn, { waitForSync: true });

View File

@ -137,7 +137,7 @@ var QUERY = internal.AQL_QUERY;
///
/// Executes a query and extract the result in a single go:
///
/// @EXAMPLE_ARANGOSH_RUN{RestCreateCursorForLimitReturnSingle}
/// @EXAMPLE_ARANGOSH_RUN{RestCursorCreateCursorForLimitReturnSingle}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -157,7 +157,7 @@ var QUERY = internal.AQL_QUERY;
///
/// Executes a query and extract part of the result:
///
/// @EXAMPLE_ARANGOSH_RUN{RestCreateCursorForLimitReturn}
/// @EXAMPLE_ARANGOSH_RUN{RestCursorCreateCursorForLimitReturn}
/// var cn = "products";
/// db._drop(cn);
/// db._create(cn);
@ -182,7 +182,7 @@ var QUERY = internal.AQL_QUERY;
///
/// Missing body:
///
/// @EXAMPLE_ARANGOSH_RUN{RestCreateCursorMissingBody}
/// @EXAMPLE_ARANGOSH_RUN{RestCursorCreateCursorMissingBody}
/// var url = "/_api/cursor";
///
/// var response = logCurlRequest('POST', url, '');
@ -194,7 +194,7 @@ var QUERY = internal.AQL_QUERY;
///
/// Unknown collection:
///
/// @EXAMPLE_ARANGOSH_RUN{RestCreateCursorUnknownCollection}
/// @EXAMPLE_ARANGOSH_RUN{RestCursorCreateCursorUnknownCollection}
/// var url = "/_api/cursor";
/// var body = '{ "query" : "FOR u IN unknowncoll LIMIT 2 RETURN u", "count" : true, "batchSize" : 2 }';
///

View File

@ -335,7 +335,7 @@ actions.defineHttp({
///
/// @EXAMPLES
///
/// @EXAMPLE_ARANGOSH_RUN{AdminStatistics1}
/// @EXAMPLE_ARANGOSH_RUN{RestAdminStatistics1}
/// var url = "/_admin/statistics";
/// var response = logCurlRequest('GET', url);
///
@ -402,7 +402,7 @@ actions.defineHttp({
///
/// @EXAMPLES
///
/// @EXAMPLE_ARANGOSH_RUN{AdminStatisticsDescription1}
/// @EXAMPLE_ARANGOSH_RUN{RestAdminStatisticsDescription1}
/// var url = "/_admin/statistics-description";
/// var response = logCurlRequest('GET', url);
///