B
Ben Giddings
Is there a database-independent way of finding out how many rows were
returned by a given query using Ruby DBI? Every method I've looked at that
seems like a candidate has not yielded a reasonable result. I suppose I
could do fetch_all.size, but that seems wasteful.
In case it matters I'm using PostgreSQL as the database.
Ben
returned by a given query using Ruby DBI? Every method I've looked at that
seems like a candidate has not yielded a reasonable result. I suppose I
could do fetch_all.size, but that seems wasteful.
In case it matters I'm using PostgreSQL as the database.
Ben