[{"data":1,"prerenderedAt":456},["ShallowReactive",2],{"content-query-vV7t9yQxuB":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"icon":9,"body":10,"_type":450,"_id":451,"_source":452,"_file":453,"_stem":454,"_extension":455},"/ramdb/hashes/hashgetallid","hashes",false,"","ArmaRAMDb - Hash Get All ID","mdi:file-text-outline",{"type":11,"children":12,"toc":435},"root",[13,22,29,35,41,54,60,201,207,212,218,225,234,240,249,255,264,270,342,348],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"ramdb_db_fnc_hashgetallid",[19],{"type":20,"value":21},"text","ramdb_db_fnc_hashGetAllId",{"type":14,"tag":23,"props":24,"children":26},"h2",{"id":25},"description",[27],{"type":20,"value":28},"Description",{"type":14,"tag":30,"props":31,"children":32},"p",{},[33],{"type":20,"value":34},"Retrieves all fields and values from a specific hash table identified by its key. This function returns the complete hash table data for a specific ID through a callback function, allowing access to all stored key-value pairs associated with that ID. It's particularly useful for retrieving player-specific or entity-specific hash data.",{"type":14,"tag":23,"props":36,"children":38},{"id":37},"syntax",[39],{"type":20,"value":40},"Syntax",{"type":14,"tag":42,"props":43,"children":48},"pre",{"className":44,"code":46,"language":47,"meta":7},[45],"language-sqf","[_key, _function, _call, _netId] call ramdb_db_fnc_hashGetAllId\n","sqf",[49],{"type":14,"tag":50,"props":51,"children":52},"code",{"__ignoreMap":7},[53],{"type":20,"value":46},{"type":14,"tag":23,"props":55,"children":57},{"id":56},"parameters",[58],{"type":20,"value":59},"Parameters",{"type":14,"tag":61,"props":62,"children":63},"table",{},[64,92],{"type":14,"tag":65,"props":66,"children":67},"thead",{},[68],{"type":14,"tag":69,"props":70,"children":71},"tr",{},[72,78,83,87],{"type":14,"tag":73,"props":74,"children":75},"th",{},[76],{"type":20,"value":77},"Parameter",{"type":14,"tag":73,"props":79,"children":80},{},[81],{"type":20,"value":82},"Type",{"type":14,"tag":73,"props":84,"children":85},{},[86],{"type":20,"value":28},{"type":14,"tag":73,"props":88,"children":89},{},[90],{"type":20,"value":91},"Default",{"type":14,"tag":93,"props":94,"children":95},"tbody",{},[96,124,149,176],{"type":14,"tag":69,"props":97,"children":98},{},[99,109,114,119],{"type":14,"tag":100,"props":101,"children":102},"td",{},[103],{"type":14,"tag":50,"props":104,"children":106},{"className":105},[],[107],{"type":20,"value":108},"_key",{"type":14,"tag":100,"props":110,"children":111},{},[112],{"type":20,"value":113},"String",{"type":14,"tag":100,"props":115,"children":116},{},[117],{"type":20,"value":118},"Identifier of the hash table to retrieve",{"type":14,"tag":100,"props":120,"children":121},{},[122],{"type":20,"value":123},"\"\"",{"type":14,"tag":69,"props":125,"children":126},{},[127,136,140,145],{"type":14,"tag":100,"props":128,"children":129},{},[130],{"type":14,"tag":50,"props":131,"children":133},{"className":132},[],[134],{"type":20,"value":135},"_function",{"type":14,"tag":100,"props":137,"children":138},{},[139],{"type":20,"value":113},{"type":14,"tag":100,"props":141,"children":142},{},[143],{"type":20,"value":144},"Name of the function to receive the retrieved data",{"type":14,"tag":100,"props":146,"children":147},{},[148],{"type":20,"value":123},{"type":14,"tag":69,"props":150,"children":151},{},[152,161,166,171],{"type":14,"tag":100,"props":153,"children":154},{},[155],{"type":14,"tag":50,"props":156,"children":158},{"className":157},[],[159],{"type":20,"value":160},"_call",{"type":14,"tag":100,"props":162,"children":163},{},[164],{"type":20,"value":165},"Boolean",{"type":14,"tag":100,"props":167,"children":168},{},[169],{"type":20,"value":170},"Whether to call the function directly (true) or spawn (false)",{"type":14,"tag":100,"props":172,"children":173},{},[174],{"type":20,"value":175},"false",{"type":14,"tag":69,"props":177,"children":178},{},[179,188,192,197],{"type":14,"tag":100,"props":180,"children":181},{},[182],{"type":14,"tag":50,"props":183,"children":185},{"className":184},[],[186],{"type":20,"value":187},"_netId",{"type":14,"tag":100,"props":189,"children":190},{},[191],{"type":20,"value":113},{"type":14,"tag":100,"props":193,"children":194},{},[195],{"type":20,"value":196},"(Optional) NetID of the player to receive the data",{"type":14,"tag":100,"props":198,"children":199},{},[200],{"type":20,"value":123},{"type":14,"tag":23,"props":202,"children":204},{"id":203},"return-value",[205],{"type":20,"value":206},"Return Value",{"type":14,"tag":30,"props":208,"children":209},{},[210],{"type":20,"value":211},"None. The retrieved data is passed to the specified callback function asynchronously.",{"type":14,"tag":23,"props":213,"children":215},{"id":214},"examples",[216],{"type":20,"value":217},"Examples",{"type":14,"tag":219,"props":220,"children":222},"h3",{"id":221},"retrieve-a-players-complete-hash-data",[223],{"type":20,"value":224},"Retrieve a player's complete hash data:",{"type":14,"tag":42,"props":226,"children":229},{"className":227,"code":228,"language":47,"meta":7},[45],"[getPlayerUID player, \"ramdb_db_fnc_test\"] call ramdb_db_fnc_hashGetAllId;\n",[230],{"type":14,"tag":50,"props":231,"children":232},{"__ignoreMap":7},[233],{"type":20,"value":228},{"type":14,"tag":219,"props":235,"children":237},{"id":236},"retrieve-vehicle-data-with-synchronous-callback",[238],{"type":20,"value":239},"Retrieve vehicle data with synchronous callback:",{"type":14,"tag":42,"props":241,"children":244},{"className":242,"code":243,"language":47,"meta":7},[45],"[\"vehicle_123\", \"ramdb_db_fnc_processVehicleData\", true] call ramdb_db_fnc_hashGetAllId;\n",[245],{"type":14,"tag":50,"props":246,"children":247},{"__ignoreMap":7},[248],{"type":20,"value":243},{"type":14,"tag":219,"props":250,"children":252},{"id":251},"retrieve-data-and-send-it-to-a-specific-client",[253],{"type":20,"value":254},"Retrieve data and send it to a specific client:",{"type":14,"tag":42,"props":256,"children":259},{"className":257,"code":258,"language":47,"meta":7},[45],"[getPlayerUID player, \"ramdb_db_fnc_test\", false, netId player] remoteExecCall [\"ramdb_db_fnc_hashGetAllId\", 2, false];\n",[260],{"type":14,"tag":50,"props":261,"children":262},{"__ignoreMap":7},[263],{"type":20,"value":258},{"type":14,"tag":23,"props":265,"children":267},{"id":266},"notes",[268],{"type":20,"value":269},"Notes",{"type":14,"tag":271,"props":272,"children":273},"ul",{},[274,280,285,290,295,307,327,332,337],{"type":14,"tag":275,"props":276,"children":277},"li",{},[278],{"type":20,"value":279},"Returns the complete hash table with all fields and values as a nested array",{"type":14,"tag":275,"props":281,"children":282},{},[283],{"type":20,"value":284},"Both the key and callback function parameters are required and validated",{"type":14,"tag":275,"props":286,"children":287},{},[288],{"type":20,"value":289},"The data is retrieved asynchronously through the extension's callback system",{"type":14,"tag":275,"props":291,"children":292},{},[293],{"type":20,"value":294},"When a netId is provided, the data is sent to that specific client",{"type":14,"tag":275,"props":296,"children":297},{},[298,300,305],{"type":20,"value":299},"The ",{"type":14,"tag":50,"props":301,"children":303},{"className":302},[],[304],{"type":20,"value":160},{"type":20,"value":306}," parameter determines whether the function is called directly (synchronous) or spawned (asynchronous)",{"type":14,"tag":275,"props":308,"children":309},{},[310,312,317,319,325],{"type":20,"value":311},"This function retrieves from a specific hash table identified by ",{"type":14,"tag":50,"props":313,"children":315},{"className":314},[],[316],{"type":20,"value":108},{"type":20,"value":318}," - use ",{"type":14,"tag":50,"props":320,"children":322},{"className":321},[],[323],{"type":20,"value":324},"hashGetAll",{"type":20,"value":326}," for the global hash table",{"type":14,"tag":275,"props":328,"children":329},{},[330],{"type":20,"value":331},"Player UIDs are commonly used as keys to store player-specific data",{"type":14,"tag":275,"props":333,"children":334},{},[335],{"type":20,"value":336},"For large hash tables, retrieving all data may impact performance",{"type":14,"tag":275,"props":338,"children":339},{},[340],{"type":20,"value":341},"All operations are logged for debugging purposes",{"type":14,"tag":23,"props":343,"children":345},{"id":344},"links",[346],{"type":20,"value":347},"Links",{"type":14,"tag":30,"props":349,"children":350},{},[351,358,360,366,367,373,374,380,381,386,387,393,394,400,401,407,408,414,415,421,422,428,429],{"type":14,"tag":352,"props":353,"children":355},"a",{"href":354},"/ramdb/hashes/hashdelete",[356],{"type":20,"value":357},"Hash Delete",{"type":20,"value":359}," |\n",{"type":14,"tag":352,"props":361,"children":363},{"href":362},"/ramdb/hashes/hashdeleteid",[364],{"type":20,"value":365},"Hash Delete ID",{"type":20,"value":359},{"type":14,"tag":352,"props":368,"children":370},{"href":369},"/ramdb/hashes/hashget",[371],{"type":20,"value":372},"Hash Get",{"type":20,"value":359},{"type":14,"tag":352,"props":375,"children":377},{"href":376},"/ramdb/hashes/hashgetall",[378],{"type":20,"value":379},"Hash Get All",{"type":20,"value":359},{"type":14,"tag":352,"props":382,"children":383},{"href":4},[384],{"type":20,"value":385},"Hash Get All ID",{"type":20,"value":359},{"type":14,"tag":352,"props":388,"children":390},{"href":389},"/ramdb/hashes/hashgetid",[391],{"type":20,"value":392},"Hash Get ID",{"type":20,"value":359},{"type":14,"tag":352,"props":395,"children":397},{"href":396},"/ramdb/hashes/hashremove",[398],{"type":20,"value":399},"Hash Remove",{"type":20,"value":359},{"type":14,"tag":352,"props":402,"children":404},{"href":403},"/ramdb/hashes/hashremoveid",[405],{"type":20,"value":406},"Hash Remove ID",{"type":20,"value":359},{"type":14,"tag":352,"props":409,"children":411},{"href":410},"/ramdb/hashes/hashset",[412],{"type":20,"value":413},"Hash Set",{"type":20,"value":359},{"type":14,"tag":352,"props":416,"children":418},{"href":417},"/ramdb/hashes/hashsetbulk",[419],{"type":20,"value":420},"Hash Set Bulk",{"type":20,"value":359},{"type":14,"tag":352,"props":423,"children":425},{"href":424},"/ramdb/hashes/hashsetid",[426],{"type":20,"value":427},"Hash Set ID",{"type":20,"value":359},{"type":14,"tag":352,"props":430,"children":432},{"href":431},"/ramdb/hashes/hashsetidbulk",[433],{"type":20,"value":434},"Hash Set ID Bulk",{"title":7,"searchDepth":436,"depth":436,"links":437},2,[438,439,440,441,442,448,449],{"id":25,"depth":436,"text":28},{"id":37,"depth":436,"text":40},{"id":56,"depth":436,"text":59},{"id":203,"depth":436,"text":206},{"id":214,"depth":436,"text":217,"children":443},[444,446,447],{"id":221,"depth":445,"text":224},3,{"id":236,"depth":445,"text":239},{"id":251,"depth":445,"text":254},{"id":266,"depth":436,"text":269},{"id":344,"depth":436,"text":347},"markdown","content:ramdb:hashes:hashGetAllId.md","content","ramdb/hashes/hashGetAllId.md","ramdb/hashes/hashGetAllId","md",1742777961988]