Add ids to the index of a namespace
ids to add
id of the parent object of the index
Bind a guild id to the cache
id of the guild that should be bound to this cache
Bind an object to the cache instance, you can read more on binding on the landing page of the documentation
Object to bind to this cache instance
Build an id consisting of $namespace.$id
id to append to namespace
constructed id
Get the number of elements that are within an index
id of the parent object of the index
Get all members from an index
id of the parent object of the index
Check if an id is a member of an index
id to check
id of the parent object of the index
returns true if it is a part of the index, false otherwise
Remove an id from the index
id to be removed
id of the parent object of the index
Delete an index
id of the parent object of the index
Delete keys from data if necessary based on RainCache structureDefs options and return the cleaned data
The data to possibly delete object entries from
Base class for all cache classes.
You should not create BaseCache by itself, but instead create a class that extends from it.
All Methods from BaseCache are also available on every class that is extending it.
Generated using TypeDoc
guild id bound to this cache