Methods
# static arrayAddUnique(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static arrayAppend(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static arrayInsert(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static arrayPrepend(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static decrement(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
number | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static increment(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
number | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static insert(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static remove(path, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
options |
Object |
<optional> |
# static replace(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |
# static upsert(path, value, optionsopt) → {MutateInSpec}
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
path |
string | ||
value |
* | ||
options |
Object |
<optional> |
|
createPath |
boolean |
<optional> |