toObject
Converts the given QueryState to QueryObject.
Return
The converted object.
Parameters
query
The query reference.
select
A function that selects the object from the reply.
Converts the given QueryState to QueryObject.
The converted object.
The query reference.
A function that selects the object from the reply.