View
in package
Represents a View on ArangoDB server.
Tags
Table of Contents
Properties
- $attributes : array<string|int, mixed>
- View properties.
- $defaults : array<string|int, mixed>
- View properties default values.
- $globallyUniqueId : string
- Globally unique ID.
- $id : string
- View ID.
- $isNew : bool
- If the View is a new one or a representation of an existing view on server.
- $links : mixed
- The view links
- $name : string
- The name of the View.
- $type : string
- The type of View
Methods
- __construct() : mixed
- View constructor.
- isNew() : bool
- Returns true if is a new object
Properties
$attributes
View properties.
protected
array<string|int, mixed>
$attributes
= []
Check ArangoDB Server documentation for more details.
Tags
$defaults
View properties default values.
protected
array<string|int, mixed>
$defaults
= ['writebufferActive' => 0, 'writebufferSizeMax' => 33554432, 'writebufferIdle' => 64, 'commitIntervalMsec' => 1000, 'consolidationIntervalMsec' => 10000, 'consolidationPolicy' => [], 'cleanupIntervalStep' => 2]
Check ArangoDB Server documentation for more details.
Tags
$globallyUniqueId
Globally unique ID.
protected
string
$globallyUniqueId
$id
View ID.
protected
string
$id
$isNew
If the View is a new one or a representation of an existing view on server.
protected
bool
$isNew
$links
The view links
protected
mixed
$links
Tags
$name
The name of the View.
protected
string
$name
$type
The type of View
protected
string
$type
Methods
__construct()
View constructor.
public
__construct(string $name[, string $type = "arangosearch" ][, array<string|int, mixed> $attributes = [] ]) : mixed
Parameters
- $name : string
-
The name of View
- $type : string = "arangosearch"
-
The type of View
- $attributes : array<string|int, mixed> = []
-
View attributes
Tags
isNew()
Returns true if is a new object
public
isNew() : bool