<private> new MutateInBuilder()
- Since:
-
- 2.1.4 (stability: volatile)
Methods
-
addUnique(path, value, createParents)
-
Adds an array add unique operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object createParents
boolean - Since:
-
- 2.1.4 (stability: volatile)
-
arrayInsert(path, value)
-
Adds an array insert operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object - Since:
-
- 2.1.4 (stability: volatile)
-
counter(path, delta, createParents)
-
Adds a count operation to this mutation operation set.
Parameters:
Name Type Description path
string delta
number createParents
boolean - Since:
-
- 2.1.4 (stability: volatile)
-
execute(callback)
-
Executes this set of mutation operations on the bucket.
Parameters:
Name Type Description callback
- Since:
-
- 2.1.4 (stability: volatile)
-
insert(path, value, createParents)
-
Adds an insert operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object createParents
boolean - Since:
-
- 2.1.4 (stability: volatile)
-
pushBack(path, value, createParents)
-
Adds an array push back operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object createParents
boolean - Since:
-
- 2.1.4 (stability: volatile)
-
pushFront(path, value, createParents)
-
Adds an array push front operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object createParents
boolean - Since:
-
- 2.1.4 (stability: volatile)
-
remove(path)
-
Adds an remove operation to this mutation operation set.
Parameters:
Name Type Description path
string - Since:
-
- 2.1.4 (stability: volatile)
-
replace(path, value)
-
Adds an replace operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object - Since:
-
- 2.1.4 (stability: volatile)
-
upsert(path, value, createParents)
-
Adds an upsert operation to this mutation operation set.
Parameters:
Name Type Description path
string value
Object createParents
boolean - Since:
-
- 2.1.4 (stability: volatile)