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

Methods

query (q:String):List<Dynamic>

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 other 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.