wxSQLite3ResultSet - Reuse? Topic is solved

In this forum you can discuss database related issues which can be wxWidgets related, but also generic in nature.
Post Reply
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2169
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania
Contact:

wxSQLite3ResultSet - Reuse?

Post by evstevemd » Sat Oct 23, 2010 6:36 pm

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
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
[Ubuntu 15.04/Windows 10 Pro - GCC/MinGW, CodeLite IDE et al]

utelle
Moderator
Moderator
Posts: 844
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: wxSQLite3ResultSet - Reuse?

Post by utelle » Sat Oct 23, 2010 8:57 pm

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

Post Reply