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
Table of Contents
Constants
Constants
DOCUMENT
Document collection (default).
public
int
DOCUMENT
= 2
EDGE
Edge collection.
public
int
EDGE
= 3