G:/ids/dragonfly/docs/list Directory ReferenceG:/ids/dragonfly/docs/list Directory ReferenceDetailed DescriptionThis section contains documentation for the list operations of ArmaDragonflyClient that allow for working with ordered collections of items.Available FunctionslistAdd - Add an item to a listlistGet - Get items from a listlistLoad - Load a list from the databaselistRemove - Remove an item from a listlistSet - Set an item in a listExample Usage// Add an item to a list
["myList", ["myItem"]] call dragonfly_db_fnc_listAdd;
// Set an item at a specific index
["myList", 0, [myNewValue]] call dragonfly_db_fnc_listSet;
// Get an item at a specific index
["myList", 0, "myFunction"] call dragonfly_db_fnc_listGet;
// Load all items from a list
["myList", "myFunction"] call dragonfly_db_fnc_listLoad;
// Remove an item at a specific index
["myList", 0] call dragonfly_db_fnc_listRemove;
Related CategoriesCore FunctionsBasic Data OperationsHash Operations