[eluser]fritzthecat[/eluser]
Thanks Colin / NogDog. It's not a matter of me being lazy, but interacting with other people's code I cannot change.
My first approach would be to do just what you suggest Colin, but the query I am returning is actually a multiple join, and I don't want to run it if I don't have to, so I am been using something similar to NogDog's dummy query.
I just hoped there'd be a 'proper' way of doing it, just like in normal php you can just say return array() or something