

If the input revision ID is not a string or cannot be processed, the function
#ARANGODB AQL FUNCTIONS ISO#
returns details (object|null): object with two attributesĭate (string in ISO 8601 format) and count (integer number),.This function is supposed to be called with the _rev attribute value The resulting object has a date and a count attribute. returns userName (string|null): the current user name, or null ifĭecompose the specified revision string into its components.Otherwise, the return value of this function will be null. It will only be populated ifĪuthentication on the server is turned on, and if the query was executed insideĪ request context. The current user is the user account name that was specified in theĪuthorization HTTP header of the request. returns databaseName (string): the current database name.The current database is the database name that was specified in the URL path of the request (or defaults to _system database). Returns the name of the current database. returns docArray (array): each collection as a document with attributes.

Objects/documents with duplicate attribute namesĭetermine the amount of documents in a collection. returns checkResult (bool): true for any valid objects/documents withoutĭuplicate attribute names, and false for any non-objects/non-documents or.document (object): an arbitrary document / object.Therefore, RETURN CHECK_DOCUMENT( ) is expected to return true. When using object literals in AQL, there will be an automatic removal/cleanup of duplicate attribute names, so the function will be effective only for already stored database documents. You can use MIN_MATCH() to filter if two out of three conditions evaluate to returns fulfilled (bool): whether at least minMatchCount of the.

minMatchCount (number): minimum number of expressions that should.expr (expression, repeatable): any valid AQL expression.There is a corresponding MIN_MATCH() ArangoSearch function Match documents where at least minMatchCount of the specified returns list (array|null): array / list or null.Return the first alternative that is an array, and null if none of the returns doc (object|null): document / object or null.alternative (any, repeatable): input of arbitrary type.Return the first alternative that is a document, and null if none of the Miscellaneous functions Control flow functions FIRST_DOCUMENT()
