Oihana PHP Arango

DocumentField uses ConstantsTrait

Field names returned by ArangoDB through the document API (`/_api/document/{collection}` and `/_api/document/{collection}/{key}`) on top of the reserved attributes already covered by {@see \org\schema\constants\Schema}.

Mostly carries the two optional payload fields exposed by the server when the request opts into them:

  • new (when returnNew: true was requested on insert / update / replace),
  • old (when returnOld: true was requested on update / replace / remove).
Tags
see
https://docs.arangodb.com/stable/develop/http-api/documents/
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

NEW  : string = 'new'
Field carrying the full new document payload in the response (only present when the request was sent with `returnNew: true`).
OLD  : string = 'old'
Field carrying the full previous document payload in the response (only present when the request was sent with `returnOld: true`).

Constants

NEW

Field carrying the full new document payload in the response (only present when the request was sent with `returnNew: true`).

public string NEW = 'new'

OLD

Field carrying the full previous document payload in the response (only present when the request was sent with `returnOld: true`).

public string OLD = 'old'
On this page

Search results