[{"data":1,"prerenderedAt":258},["ShallowReactive",2],{"content-query-iZTOrdbPaP":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"icon":9,"body":10,"_type":252,"_id":253,"_source":254,"_file":255,"_stem":256,"_extension":257},"/ramdb/generic/delete","generic",false,"","ArmaRAMDb - Delete Key","mdi:file-text-outline",{"type":11,"children":12,"toc":238},"root",[13,21,28,34,40,53,59,113,119,124,130,137,146,152,161,167,187,193],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"ramdb_db_fnc_delete",[19],{"type":20,"value":17},"text",{"type":14,"tag":22,"props":23,"children":25},"h2",{"id":24},"description",[26],{"type":20,"value":27},"Description",{"type":14,"tag":29,"props":30,"children":31},"p",{},[32],{"type":20,"value":33},"Removes the specified key from the database. This function deletes the key-value pair completely from storage.",{"type":14,"tag":22,"props":35,"children":37},{"id":36},"syntax",[38],{"type":20,"value":39},"Syntax",{"type":14,"tag":41,"props":42,"children":47},"pre",{"className":43,"code":45,"language":46,"meta":7},[44],"language-sqf","[_key] call ramdb_db_fnc_delete\n","sqf",[48],{"type":14,"tag":49,"props":50,"children":51},"code",{"__ignoreMap":7},[52],{"type":20,"value":45},{"type":14,"tag":22,"props":54,"children":56},{"id":55},"parameters",[57],{"type":20,"value":58},"Parameters",{"type":14,"tag":60,"props":61,"children":62},"table",{},[63,86],{"type":14,"tag":64,"props":65,"children":66},"thead",{},[67],{"type":14,"tag":68,"props":69,"children":70},"tr",{},[71,77,82],{"type":14,"tag":72,"props":73,"children":74},"th",{},[75],{"type":20,"value":76},"Parameter",{"type":14,"tag":72,"props":78,"children":79},{},[80],{"type":20,"value":81},"Type",{"type":14,"tag":72,"props":83,"children":84},{},[85],{"type":20,"value":27},{"type":14,"tag":87,"props":88,"children":89},"tbody",{},[90],{"type":14,"tag":68,"props":91,"children":92},{},[93,103,108],{"type":14,"tag":94,"props":95,"children":96},"td",{},[97],{"type":14,"tag":49,"props":98,"children":100},{"className":99},[],[101],{"type":20,"value":102},"_key",{"type":14,"tag":94,"props":104,"children":105},{},[106],{"type":20,"value":107},"String",{"type":14,"tag":94,"props":109,"children":110},{},[111],{"type":20,"value":112},"Name of the key to delete from the database",{"type":14,"tag":22,"props":114,"children":116},{"id":115},"return-value",[117],{"type":20,"value":118},"Return Value",{"type":14,"tag":29,"props":120,"children":121},{},[122],{"type":20,"value":123},"None. The operation runs asynchronously.",{"type":14,"tag":22,"props":125,"children":127},{"id":126},"examples",[128],{"type":20,"value":129},"Examples",{"type":14,"tag":131,"props":132,"children":134},"h3",{"id":133},"delete-a-key-in-singleplayer-or-on-the-server",[135],{"type":20,"value":136},"Delete a key in singleplayer or on the server:",{"type":14,"tag":41,"props":138,"children":141},{"className":139,"code":140,"language":46,"meta":7},[44],"[\"playerData\"] call ramdb_db_fnc_delete;\n",[142],{"type":14,"tag":49,"props":143,"children":144},{"__ignoreMap":7},[145],{"type":20,"value":140},{"type":14,"tag":131,"props":147,"children":149},{"id":148},"delete-a-key-on-the-server-from-a-client",[150],{"type":20,"value":151},"Delete a key on the server from a client:",{"type":14,"tag":41,"props":153,"children":156},{"className":154,"code":155,"language":46,"meta":7},[44],"[\"playerData\"] remoteExecCall [\"ramdb_db_fnc_delete\", 2, false];\n",[157],{"type":14,"tag":49,"props":158,"children":159},{"__ignoreMap":7},[160],{"type":20,"value":155},{"type":14,"tag":22,"props":162,"children":164},{"id":163},"notes",[165],{"type":20,"value":166},"Notes",{"type":14,"tag":168,"props":169,"children":170},"ul",{},[171,177,182],{"type":14,"tag":172,"props":173,"children":174},"li",{},[175],{"type":20,"value":176},"This operation is permanent and cannot be undone",{"type":14,"tag":172,"props":178,"children":179},{},[180],{"type":20,"value":181},"If the key doesn't exist, the operation will have no effect",{"type":14,"tag":172,"props":183,"children":184},{},[185],{"type":20,"value":186},"This function only affects specific keys, not hash tables or lists",{"type":14,"tag":22,"props":188,"children":190},{"id":189},"links",[191],{"type":20,"value":192},"Links",{"type":14,"tag":29,"props":194,"children":195},{},[196,202,204,210,211,217,218,224,225,231,232],{"type":14,"tag":197,"props":198,"children":199},"a",{"href":4},[200],{"type":20,"value":201},"Delete Key",{"type":20,"value":203}," |\n",{"type":14,"tag":197,"props":205,"children":207},{"href":206},"/ramdb/generic/fetch",[208],{"type":20,"value":209},"Fetch Key",{"type":20,"value":203},{"type":14,"tag":197,"props":212,"children":214},{"href":213},"/ramdb/generic/get",[215],{"type":20,"value":216},"Get Key",{"type":20,"value":203},{"type":14,"tag":197,"props":219,"children":221},{"href":220},"/ramdb/generic/load",[222],{"type":20,"value":223},"Load DB",{"type":20,"value":203},{"type":14,"tag":197,"props":226,"children":228},{"href":227},"/ramdb/generic/save",[229],{"type":20,"value":230},"Save DB",{"type":20,"value":203},{"type":14,"tag":197,"props":233,"children":235},{"href":234},"/ramdb/generic/set",[236],{"type":20,"value":237},"Set Key",{"title":7,"searchDepth":239,"depth":239,"links":240},2,[241,242,243,244,245,250,251],{"id":24,"depth":239,"text":27},{"id":36,"depth":239,"text":39},{"id":55,"depth":239,"text":58},{"id":115,"depth":239,"text":118},{"id":126,"depth":239,"text":129,"children":246},[247,249],{"id":133,"depth":248,"text":136},3,{"id":148,"depth":248,"text":151},{"id":163,"depth":239,"text":166},{"id":189,"depth":239,"text":192},"markdown","content:ramdb:generic:delete.md","content","ramdb/generic/delete.md","ramdb/generic/delete","md",1742777962295]