Constructor for DatabaseArray
the data for the database-array
The data of the DatabaseArray
The data of the DatabaseArray
Returns the length of the array
Checks if the DatabaseArray contains a value
the path to check
does the array contains the value
Gets a value from the DatabaseArray.
the path to get
the value of the key
Gets a value from the DatabaseArray normalizes it
the path to get
the value of the key
Pushes a value into the DatabaseArray
the DatabaseArray itself, so you can chain operations like that
Sets a value from the DatabaseArray.
the path to apply the value to
the value to apply to the given path
the DatabaseArray itself, so you can chain operations like that
Sets a default value from the DatabaseArray.
the path to apply the value to
the value to apply to the given path
the DatabaseArray itself, so you can chain operations like that
Updates a value from the DatabaseArray.
the path to update
the function to update the value
the DatabaseArray itself, so you can chain operations like that
Generated using TypeDoc
A DatabaseArray is the database-representation of an array.
Nicolas Schmidt <@nsc-de>
DatabaseArray.data - the data of the array
DatabaseArray.length - the array length
DatabaseArray.constructor() - the constructor
DatabaseArray.set() - sets a value from the DatabaseArray
DatabaseArray.setDefault() - sets a default value from the DatabaseArray
DatabaseArray.get() - gets a value from the DatabaseArray
DatabaseArray.getNormal() - gets a value from the DatabaseArray and normalizes it
DatabaseArray.update() - updates a value from the DatabaseArray
DatabaseArray.contains() - checks if the DatabaseArray contains a value
DatabaseArray.push() - push a value into the DatabaseArray