Goler McBain wrote:I have sort of a logic problem with a class I wanted to develop. That class should get the Mysql statement as input, and return the Mysql data from the mysql database. And the returning part is where I have a problem.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Goler McBain wrote:So the idea was to write a class that receives the sql statement and returns the resultset(I guess thats the best way to put it).
I would process the resultset where I requested it.
Is there a way to return the resultset object itself so that I can use commands like .next() on the returned object? I guess that would be the perfect solution, because it would not even matter how easy/complex the sql statement is then?
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here