MutateUpsertSpec
in package
implements
MutateInSpec
Indicates to replace a value at a path if it doesn't exist, otherwise create the path, in a document.
Interfaces, Classes and Traits
- MutateInSpec
- MutateInSpec is an interface for providing subdocument mutation operations.
Table of Contents
- __construct() : mixed
Methods
__construct()
public
__construct(string $path, mixed $value, bool $isXattr, bool $createPath, bool $expandMacros) : mixed
Parameters
- $path : string
- $value : mixed
- $isXattr : bool
- $createPath : bool
- $expandMacros : bool