async_fetch_result


Description:

[ Version ( since = "4.2" ) ]
public Object async_fetch_result (uint task_id, out Set last_insert_row) throws Error

Use this method to obtain the result of the execution of a statement which has been executed asynchronously by calling async_statement_execute.

This function is non locking and will return null (and no error will be set) if the statement has not been executed yet.

If the statement has been executed, this method returns the same value as statement_execute would have if the statement had been executed synchronously.

Parameters:

this

a Connection

task_id

a task ID returned by async_statement_execute

last_insert_row

a place to store a new Set object which contains the values of the last inserted row, or null

Returns:

a Object, or null if an error occurred