wxSQLite3ResultSet - Reuse?  [SOLVED]

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

wxSQLite3ResultSet - Reuse?

Postby 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: 824
Joined: Tue Jul 05, 2005 10:00 pm
Location: Cologne, Germany
Contact:

Re: wxSQLite3ResultSet - Reuse?  [SOLVED]

Postby 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


Return to “Database Related”

Who is online

Users browsing this forum: No registered users and 1 guest