Asynchronous worker thread info. Used to make API calls to database.

Methods

query (q:String):ResultSet

Runs SQL query through the async worker database connection.

Note: Async worker has a separate database connection specifically so that its queries won't slow down any of the slave server threads.

Parameters:

q

SQL query string.

Returns:

The result of the query.

inline queryTrace (q:String):ResultSet

Runs SQL query with tracing enabled.

Parameters:

q

SQL query string.

Returns:

The result of the query.