[eluser]fritzthecat[/eluser]
I'd do the same, or return an array. It's not my idea.
The function calling the code I'm writing gets the result and tries to call results_array() on it without checking it. Hence, it must be of type query otherwise it'll fail.