--- title: ArmaRAMDb - Hash Remove icon: mdi:file-text-outline excerpt: Remove a field from the current client's hash table. --- # ramdb_db_fnc_hashRemove ## Description Removes a specific field from the hash table associated with the current client/player. This function automatically determines the appropriate hash ID based on the caller's identity, making it more convenient than `hashRemoveId` which requires manually specifying an ID. It deletes a single field and its associated value without affecting other fields in the client's hash table. ## Syntax ```sqf [_keyField] call ramdb_db_fnc_hashRemove ``` ## Parameters | Parameter | Type | Description | Default | |-------------|--------|-------------------------------------|---------| | `_keyField` | String | Name of the field to be removed | "" | ## Return Value None. The operation runs synchronously to remove the field. ## Examples ### Remove a specific field: ```sqf ["loadout"] call ramdb_db_fnc_hashRemove; ``` ### Remove a field remotely: ```sqf ["playerSettings"] remoteExecCall ["ramdb_db_fnc_hashRemove", 2, false]; ``` ## Notes - Only removes a single field from the current client's hash table - Validates that the key field parameter is not empty before proceeding - Does not affect other fields in the hash table - If the field doesn't exist, the operation has no effect - This function automatically determines which hash table to use based on the caller's identity - Use `hashRemoveId` when you need to specify a particular hash table by ID - The operation is executed immediately and synchronously - All operations are logged for debugging purposes ## Related Functions - `ramdb_db_fnc_hashRemoveId`: Removes a specific field from a specific hash table (when you need to specify the ID) - `ramdb_db_fnc_hashDelete`: Removes the current client's hash table - `ramdb_db_fnc_hashDeleteId`: Removes a specific hash table - `ramdb_db_fnc_hashSet`: Sets a field value in the current client's hash table - `ramdb_db_fnc_hashGet`: Retrieves a field value from the current client's hash table ## Links [Hash Delete](hashDelete) | [Hash Delete Field](hashDeleteField) | [Hash Delete ID](hashDeleteId) | [Hash Get](hashGet) | [Hash Get All](hashGetAll) | [Hash Get All ID](hashGetAllId) | [Hash Get ID](hashGetId) | [Hash Remove](hashRemove) | [Hash Remove ID](hashRemoveId) | [Hash Set](hashSet) | [Hash Set Bulk](hashSetBulk) | [Hash Set ID](hashSetId) | [Hash Set ID Bulk](hashSetIdBulk)