title: ArmaRAMDb - Hash Set Bulk icon: mdi:file-text-outline
Sets multiple field-value pairs in the hash table associated with the current client/player in a single operation. This function automatically determines the appropriate hash ID based on the caller's identity, making it more convenient than hashSetIdBulk
which requires manually specifying an ID. It allows efficiently storing multiple related fields at once, reducing the number of separate database calls required.
Parameter | Type | Description | Default |
---|---|---|---|
_data | Array | Array of alternating field names and values to store | [] |
None. The operation runs synchronously to store all the data.
[field1, value1, field2, value2, ...]
hashSetIdBulk
when you need to specify a particular hash table by IDhashSet
calls when setting several fieldsramdb_db_fnc_hashSet
: Sets a single field value in the current client's hash tableramdb_db_fnc_hashSetIdBulk
: Sets multiple field-value pairs in a specific hash table (when you need to specify the ID)ramdb_db_fnc_hashGetAll
: Retrieves all fields from the current client's hash tableramdb_db_fnc_hashGet
: Retrieves a specific field value from the current client's hash tableramdb_db_fnc_hashDelete
: Removes the current client's hash tableHash Delete | Hash Delete ID | Hash Get | Hash Get All | Hash Get All ID | Hash Get ID | Hash Remove | Hash Remove ID | Hash Set | Hash Set Bulk | Hash Set ID | Hash Set ID Bulk