Actually the Query Component have a output parameter, but only you pass one result.
For example, I consulted the user table, but I want to get all the resulting oid, 1,2,3,4,5 .... in the link. The result is only one oid, corresponding to the record.