ramdb/docs/list/index.md
Jacob Schmidt 6d51f2e333 fix: Update documentation for consistency and accuracy
This commit enhances the documentation by ensuring consistency in function references and correcting inaccuracies. Key changes include:

*   Updated function names and references throughout the documentation.
*   Corrected internal links to point to the appropriate markdown files.
*   Removed outdated references to improve clarity and relevance.
2025-03-22 20:05:28 -05:00

1.1 KiB

List Operations

This section contains documentation for the list operations of ArmaRAMDb that allow for working with ordered collections of items.

Available Functions

Example Usage

// Add an item to a list
["myList", ["myItem"]] call ramdb_db_fnc_listAdd;

// Set an item at a specific index
["myList", 0, [myNewValue]] call ramdb_db_fnc_listSet;

// Get an item at a specific index
["myList", 0, "myFunction"] call ramdb_db_fnc_listGet;

// Load all items from a list
["myList", "myFunction"] call ramdb_db_fnc_listLoad;

// Remove an item at a specific index
["myList", 0] call ramdb_db_fnc_listRemove;

// Delete the entire list
["myList"] call ramdb_db_fnc_listDelete;