Method Global:CharDBQueryAsync [-] [+]

Executes an asynchronous SQL query on the character database and passes an ElunaQuery to a callback function.

The query is executed asynchronously (i.e. the server keeps running while the query is executed in parallel, and results are passed to a callback function). If you need to execute the query synchronously, use Global:CharDBQuery instead.

For an example see Global:WorldDBQueryAsync.

Synopsis

CharDBQueryAsync( sql, callback )

Arguments

string sql

Query to execute.

function callback

Function that will be called when the results are available.

Returns

Nothing.

Generated on
©2016 - Eluna Lua Engine