Page 1 of 1

wxSQLite3ResultSet - Reuse?

Posted: Sat Oct 23, 2010 6:36 pm
by evstevemd
can I reuse wxSQLite3ResultSet from one result? Let say I get resultset and work on them and want to do the same query again. Should I re-query or I can reuse the resultset?

Thanks

Re: wxSQLite3ResultSet - Reuse?

Posted: Sat Oct 23, 2010 8:57 pm
by utelle
evstevemd wrote:can I reuse wxSQLite3ResultSet from one result? Let say I get resultset and work on them and want to do the same query again. Should I re-query or I can reuse the resultset?
Currently a wxSQLite3ResultSet instance allows to process a result set exactly once. If you need to process the same result set again you have to re-query the database to get a new result set.

Regards,

Ulrich