On 12/10/07, Hans-Christoph Steiner hans@eds.org wrote:
Cool, that sounds like a good idea. I probably got it from you. :) Maybe you are already doing this, but a query could also send a message out of the status outlet to say how many results were found (i.e. [results 5(). This number could be routed to trigger an [until] or other such behaviors. (using the completion bang to stop [until] probably makes more sense though).
I could be wrong on other databases, but sqlite doesn't return the count of the number of result sets found. And as far as using an [until] object, you could still hook up the bang sent out the status outlet to the until so that it would shut it down when needed.
Mike