get_query_log


Description:

public unowned GenericArray<MockBackendQuery?> get_query_log ()

Get the details of the forward and reverse queries which have been requested of the mock backend since the most recent call to clear.

The query details are provided as MockBackendQuery structures, which map the query parameters to either the result set or the error which forward_search or reverse_resolve (or their asynchronous variants) returned to the caller.

The results are provided in the order in which calls were made to forward_search and reverse_resolve. Results for forward and reverse queries may be interleaved.

Parameters:

this

a MockBackend

Returns:

potentially empty sequence of forward and reverse query details