Oihana PHP Arango

Clause uses ConstantsTrait

Table of Contents

Constants

CURRENT  : string = 'CURRENT'
CURRENT clause
NEW  : string = 'NEW'
NEW clause
OLD  : string = 'OLD'
OLD clause
OPTIONS  : string = 'OPTIONS'
OPTIONS clause.
WITH_STATUS  : string = 'WITH_STATUS'
WITH_STATUS clause.

Constants

CURRENT

CURRENT clause

public string CURRENT = 'CURRENT'

NEW

NEW clause

public string NEW = 'NEW'

OLD

OLD clause

public string OLD = 'OLD'

OPTIONS

OPTIONS clause.

public string OPTIONS = 'OPTIONS'

WITH_STATUS

WITH_STATUS clause.

public string WITH_STATUS = 'WITH_STATUS'

Special, non-standard clause used with UPSERT/REPSET operations to return both the new document and the type of operation performed.

Produces an AQL expression like: RETURN { doc: NEW, type: OLD ? 'update' : 'insert' }

  • doc : the new document (NEW)
  • type : "update" if an existing document was matched (OLD is defined), otherwise "insert".
On this page

Search results