Oihana PHP Arango

Side uses ConstantsTrait

Indicates on which side a value is inserted into an embedded array field by {@see oihana\arango\models\traits\DocumentsArrayTrait::arrayInsert()}.

  • LEFT : prepend — the value(s) are added at the beginning of the array (AQL UNSHIFT/APPEND).
  • RIGHT : append — the value(s) are added at the end of the array (default).

Table of Contents

Constants

LEFT  : string = 'left'
Prepend — insert at the beginning of the array.
RIGHT  : string = 'right'
Append — insert at the end of the array (default).

Constants

LEFT

Prepend — insert at the beginning of the array.

public string LEFT = 'left'

RIGHT

Append — insert at the end of the array (default).

public string RIGHT = 'right'
On this page

Search results