MCPcopy Create free account
hub / github.com/ElunaLuaEngine/Eluna / WorldDBQueryAsync

Function WorldDBQueryAsync

methods/TrinityCore/GlobalMethods.h:1300–1334  ·  view source on GitHub ↗

* Initiates an asynchronous SQL query on the world database with a callback function. * * The query is executed asynchronously, and the provided Lua function is called when the query completes. * The callback function parameter is the query result (an [ElunaQuery] or nil if no rows found). * * WorldDBQueryAsync("SELECT entry, name FROM creature_template LIMIT 10", func

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

CHECKVAL<const char*>Method · 0.80
ExecuteCallMethod · 0.80
PushMethod · 0.45

Tested by

no test coverage detected