ArmaDragonflyClient - Delete Key

Delete Key

Description

Removes the specified key from the database. This function deletes the key-value pair completely from storage.

Syntax

[_key] call dragonfly_db_fnc_delete

Parameters

ParameterTypeDescriptionDefault
_keyStringName of the key to delete from the database""

Return Value

None. The operation runs asynchronously.

Examples

Delete a key in singleplayer or on the server:

["playerData"] call dragonfly_db_fnc_delete;

Delete a key on the server from a client:

["playerData"] remoteExecCall ["dragonfly_db_fnc_delete", 2, false];

Notes

  • This operation is permanent and cannot be undone
  • If the key doesn't exist, the operation will have no effect
  • This function only affects specific keys, not hash tables or lists

Delete Key | Get Key | Set Key