The key to add the value to.
The value to add.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the new value.
Delete a key and its associated value.
The key to delete.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a boolean indicating the success of the operation.
Optionaloptions: methodOptionsRemove all duplicate values from an array stored in a key.
The key of the array to remove duplicate values from.
Optionalvalue: (value: any, index: number, obj: any[]) => anyThe value to remove.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a boolean indicating whether any value was removed.
Double the value of a key.
The key to double the value of.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the new value.
Get all the values that end with a key.
The key to check if it ends with the value.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the values that end with the key.
The key of the array to filter. *
The callback filter function to use. *
Optionaloptions: methodOptionsThe options to use. *
A promise that resolves to an array of filtered values.
Find a value in an array stored in a key.
The key of the array to find the value in.
The callback function to use for finding the value.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the value found.
Optionaloptions: methodOptionsThe key of the array to search. *
The callback function to find the elements. *
The callback function to update the found elements. *
Optionaloptions: methodOptionsThe options to use. *
A promise that resolves to an array of updated elements.
Get the value associated with a key.
The key to get the value from.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the value associated with the key.
Optionaloptions: methodOptionsCheck if a key exists.
The key to check if it exists.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a boolean indicating whether the key exists.
Check if a key includes a value.
The key to check if it includes the value.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a boolean indicating whether the key includes the value.
Perform a mathematical operation on a key.
The key to perform the mathematical operation on.
The mathematical sign to use.
The value to use in the mathematical operation.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the result of the mathematical operation.
Multiply a value to a key.
The key to multiply the value to.
The value to multiply.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the new value.
Remove and return the last element of an array stored in a key.
The key of the array to pop the value from.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the popped value.
Remove one or all occurrences of a value from an array stored in a key.
The key of the array to pull the value from.
The value or callback function to use to pull the value.
OptionalpullAll: booleanWhether to pull all occurrences or just the first one.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a boolean indicating whether any value was pulled.
Push a value to an array stored in a key.
The key of the array to push the value to.
The value to push.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the new length of the array.
Set a value to a key.
The key to set the value to.
The value to set.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a boolean indicating the success of the operation.
Optionaloptions: methodOptionsRemove and return the first element of an array stored in a key.
The key of the array to shift the value from.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the shifted value.
Get the size of a key.
The key to get the size of.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the size of the key.
Get all the values that start with a key.
The key to check if it starts with the value.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the values that start with the key.
Subtract a value from a key.
The key to subtract the value from.
The value to subtract.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the new value.
Get a table.
The name of the table to get.
A promise that resolves to a new instance of AsyncGoodDB representing the table.
Get the type of a key.
The key to get the type of.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to a string representing the type of the key.
Add a value to the beginning of an array stored in a key.
The key of the array to unshift the value to.
The value to unshift.
Optionaloptions: methodOptionsThe options to use.
A promise that resolves to the new length of the array.
Add a value to a key.