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

Function AuthDBQueryAsync

methods/TrinityCore/GlobalMethods.h:1486–1520  ·  view source on GitHub ↗

* Initiates an asynchronous SQL query on the login 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). * * For an example see [Global:WorldDBQueryAsync]. * * @param string sql :

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