hmm thanks for that tip/correction
perhaps it is faster to set a query to a model and iterate over the model? have anbody some expierinces with this???
hmm thanks for that tip/correction
perhaps it is faster to set a query to a model and iterate over the model? have anbody some expierinces with this???
I do not recommend you to retrieve specific data from an sql model if you just need to sort out only some simple select statements. Use directly QSqlQuery::exec() or QSqlQuery::execBatch().
I especially insist on this, if you're using a remote database connection. The model/view approach works very poor remotely.
codeman (30th December 2009)
Bookmarks