Connection.asyncFetchResult
gobject.object.ObjectWrap asyncFetchResult(uint taskId, out gda.set.Set lastInsertRow)Use this method to obtain the result of the execution of a statement which has been executed asynchronously by calling [gda.connection.Connection.asyncStatementExecute]. 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 [gda.connection.Connection.statementExecute] would have if the statement had been executed synchronously.
Parameters
taskId | a task ID returned by [gda.connection.Connection.asyncStatementExecute] |
lastInsertRow | a place to store a new #GdaSet object which contains the values of the last inserted row, or null |
Returns
a #GObject, or null if an error occurred
Throws
[ConnectionException]