Oihana PHP Arango

Purge uses ConstantsTrait

Defines the possible purge directions for graph edges in ArangoDB.

These constants indicate which documents should be automatically removed when an edge vertex is deleted:

  • OUTBOUND : Purge the target (to) documents when the source (from) vertex is removed.
  • INBOUND : Purge the source (from) documents when the target (to) vertex is removed.
  • BOTH : Purge both from and to documents when either vertex is removed.

These values are intended for use with edge traversal rules in graph queries and edge deletion callbacks.

Table of Contents

Constants

BOTH  : string = 'BOTH'
Purge the edges vertex documents in both directions.
INBOUND  : string = 'INBOUND'
Purge the source ('from') documents when a target ('to') vertex is deleted.
OUTBOUND  : string = 'OUTBOUND'
Purge the target ('to') documents when a source ('from') vertex is deleted.

Constants

BOTH

Purge the edges vertex documents in both directions.

public string BOTH = 'BOTH'

INBOUND

Purge the source ('from') documents when a target ('to') vertex is deleted.

public string INBOUND = 'INBOUND'

OUTBOUND

Purge the target ('to') documents when a source ('from') vertex is deleted.

public string OUTBOUND = 'OUTBOUND'
On this page

Search results