Alex wrote:
> I don't think I have to go about what those true/false means, as
> they're not the point..
Actually, they are precisely the point. True means that the result
object is in a good state, false means it's in a bad state. A bad state
would be, for example, you passed invalid SQL.
The query worked and so the result object is in a good state, it's just
that there are no results to be had and so it crashes when you try to
access a non-existent row. Analogy: "0" is a perfectly acceptable
answer to "how many".
Call num_rows() on res_help_cmd to find out if there are any rows, or my
preference would be to use Query::for_each().
Joel