title: ArmaRAMDb - List Delete icon: mdi:file-text-outline
Completely removes a list and all its elements stored at a specified key from the RAMDb database. This function provides a way to delete entire collections of data at once, rather than removing individual elements. It is useful for cleaning up obsolete data, resetting collections, or removing temporary lists that are no longer needed.
Parameter | Type | Description | Default |
---|---|---|---|
_key | String | The key identifying the list to be deleted | "" |
None. The operation runs synchronously to delete the list immediately.
Delete an event log:
Remove temporary mission data:
Delete a list in multiplayer:
listRemove
, which removes a single element by index, this function removes the complete list structure._key
parameter must be a non-empty string, otherwise the function will exit without performing any action.ramdb_db_fnc_listRemove
instead.ramdb_db_fnc_listAdd
: Adds an element to a listramdb_db_fnc_listGet
: Retrieves a specific element from a listramdb_db_fnc_listLoad
: Retrieves a range of elements from a listramdb_db_fnc_listSet
: Replaces a specific element in a listramdb_db_fnc_listRemove
: Removes a specific element from a listramdb_db_fnc_scheduler
: Processes the callback from the database extensionList Add | List Delete | List Get | List Load | List Remove | List Set