Oihana PHP Arango

CollectionType uses ConstantsTrait

Collection type values defined by the ArangoDB server protocol.

Used as the type field of POST /_api/collection (to choose between a document collection and an edge collection) and in the response of GET /_api/collection/{name}/properties.

The numeric values match the canonical server constants:

  • 2 → document collection (default),
  • 3 → edge collection.
Tags
see
https://docs.arangodb.com/stable/develop/http-api/collections/
author

Marc Alcaraz (ekameleon)

since
1.0.0

Table of Contents

Constants

DOCUMENT  : int = 2
Document collection (default).
EDGE  : int = 3
Edge collection.

Constants

On this page

Search results