[{"data":1,"prerenderedAt":329},["ShallowReactive",2],{"content-query-0M6r9srybj":3},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":7,"icon":9,"body":10,"_type":323,"_id":324,"_source":325,"_file":326,"_stem":327,"_extension":328},"/ramdb/main/test","main",false,"","ArmaRAMDb - Test","mdi:file-text-outline",{"type":11,"children":12,"toc":308},"root",[13,21,28,34,40,53,59,125,131,144,150,157,166,172,181,187,196,202,250,256],{"type":14,"tag":15,"props":16,"children":18},"element","h1",{"id":17},"ramdb_db_fnc_test",[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},"A simple test function for verifying database operations. This function displays the received data in a hint message and logs it to the RPT file. It's primarily used for testing database retrieval operations and callback functionality.",{"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","[_value] spawn ramdb_db_fnc_test\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,91],{"type":14,"tag":64,"props":65,"children":66},"thead",{},[67],{"type":14,"tag":68,"props":69,"children":70},"tr",{},[71,77,82,86],{"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":72,"props":87,"children":88},{},[89],{"type":20,"value":90},"Default",{"type":14,"tag":92,"props":93,"children":94},"tbody",{},[95],{"type":14,"tag":68,"props":96,"children":97},{},[98,108,113,118],{"type":14,"tag":99,"props":100,"children":101},"td",{},[102],{"type":14,"tag":49,"props":103,"children":105},{"className":104},[],[106],{"type":20,"value":107},"_value",{"type":14,"tag":99,"props":109,"children":110},{},[111],{"type":20,"value":112},"Array, String, Number, or Boolean",{"type":14,"tag":99,"props":114,"children":115},{},[116],{"type":20,"value":117},"The value to display and log",{"type":14,"tag":99,"props":119,"children":120},{},[121],{"type":14,"tag":122,"props":123,"children":124},"span",{},[],{"type":14,"tag":22,"props":126,"children":128},{"id":127},"return-value",[129],{"type":20,"value":130},"Return Value",{"type":14,"tag":29,"props":132,"children":133},{},[134,136,142],{"type":20,"value":135},"The same value that was passed to the function. Also sets the global variable ",{"type":14,"tag":49,"props":137,"children":139},{"className":138},[],[140],{"type":20,"value":141},"ramdb_db_test",{"type":20,"value":143}," to this value.",{"type":14,"tag":22,"props":145,"children":147},{"id":146},"examples",[148],{"type":20,"value":149},"Examples",{"type":14,"tag":151,"props":152,"children":154},"h3",{"id":153},"test-with-a-simple-string",[155],{"type":20,"value":156},"Test with a simple string:",{"type":14,"tag":41,"props":158,"children":161},{"className":159,"code":160,"language":46,"meta":7},[44],"[\"Hello World!\"] spawn ramdb_db_fnc_test;\n",[162],{"type":14,"tag":49,"props":163,"children":164},{"__ignoreMap":7},[165],{"type":20,"value":160},{"type":14,"tag":151,"props":167,"children":169},{"id":168},"test-database-retrieval-by-specifying-this-as-callback-function",[170],{"type":20,"value":171},"Test database retrieval by specifying this as callback function:",{"type":14,"tag":41,"props":173,"children":176},{"className":174,"code":175,"language":46,"meta":7},[44],"[\"playerStats\", \"ramdb_db_fnc_test\"] call ramdb_db_fnc_get;\n",[177],{"type":14,"tag":49,"props":178,"children":179},{"__ignoreMap":7},[180],{"type":20,"value":175},{"type":14,"tag":151,"props":182,"children":184},{"id":183},"test-from-client-to-server",[185],{"type":20,"value":186},"Test from client to server:",{"type":14,"tag":41,"props":188,"children":191},{"className":189,"code":190,"language":46,"meta":7},[44],"[\"Database is working!\"] remoteExec [\"ramdb_db_fnc_test\", 2, false];\n",[192],{"type":14,"tag":49,"props":193,"children":194},{"__ignoreMap":7},[195],{"type":20,"value":190},{"type":14,"tag":22,"props":197,"children":199},{"id":198},"notes",[200],{"type":20,"value":201},"Notes",{"type":14,"tag":203,"props":204,"children":205},"ul",{},[206,218,223,235,240,245],{"type":14,"tag":207,"props":208,"children":209},"li",{},[210,212],{"type":20,"value":211},"Displays the received value using ",{"type":14,"tag":49,"props":213,"children":215},{"className":214},[],[216],{"type":20,"value":217},"hint",{"type":14,"tag":207,"props":219,"children":220},{},[221],{"type":20,"value":222},"Logs the same value to the RPT file",{"type":14,"tag":207,"props":224,"children":225},{},[226,228,233],{"type":20,"value":227},"Stores the value in the global variable ",{"type":14,"tag":49,"props":229,"children":231},{"className":230},[],[232],{"type":20,"value":141},{"type":20,"value":234}," for later inspection",{"type":14,"tag":207,"props":236,"children":237},{},[238],{"type":20,"value":239},"Commonly used as a callback function for database operations",{"type":14,"tag":207,"props":241,"children":242},{},[243],{"type":20,"value":244},"Useful for debugging and verifying data flow",{"type":14,"tag":207,"props":246,"children":247},{},[248],{"type":20,"value":249},"Can be called directly or specified as a callback in other functions",{"type":14,"tag":22,"props":251,"children":253},{"id":252},"links",[254],{"type":20,"value":255},"Links",{"type":14,"tag":29,"props":257,"children":258},{},[259,266,268,274,275,281,282,288,289,295,296,302,303],{"type":14,"tag":260,"props":261,"children":263},"a",{"href":262},"/ramdb/main/addtask",[264],{"type":20,"value":265},"Add Task",{"type":20,"value":267}," |\n",{"type":14,"tag":260,"props":269,"children":271},{"href":270},"/ramdb/main/handler",[272],{"type":20,"value":273},"Handler",{"type":20,"value":267},{"type":14,"tag":260,"props":276,"children":278},{"href":277},"/ramdb/main/init",[279],{"type":20,"value":280},"Init",{"type":20,"value":267},{"type":14,"tag":260,"props":283,"children":285},{"href":284},"/ramdb/main/printaddonname",[286],{"type":20,"value":287},"Print Addon Name",{"type":20,"value":267},{"type":14,"tag":260,"props":290,"children":292},{"href":291},"/ramdb/main/processqueue",[293],{"type":20,"value":294},"Process Queue",{"type":20,"value":267},{"type":14,"tag":260,"props":297,"children":299},{"href":298},"/ramdb/main/scheduler",[300],{"type":20,"value":301},"Scheduler",{"type":20,"value":267},{"type":14,"tag":260,"props":304,"children":305},{"href":4},[306],{"type":20,"value":307},"Test",{"title":7,"searchDepth":309,"depth":309,"links":310},2,[311,312,313,314,315,321,322],{"id":24,"depth":309,"text":27},{"id":36,"depth":309,"text":39},{"id":55,"depth":309,"text":58},{"id":127,"depth":309,"text":130},{"id":146,"depth":309,"text":149,"children":316},[317,319,320],{"id":153,"depth":318,"text":156},3,{"id":168,"depth":318,"text":171},{"id":183,"depth":318,"text":186},{"id":198,"depth":309,"text":201},{"id":252,"depth":309,"text":255},"markdown","content:ramdb:main:test.md","content","ramdb/main/test.md","ramdb/main/test","md",1742777961751]