[Qt-interest] Multiple Prepare in QtSql

Sean Harmer sean.harmer at maps-technology.com
Wed Oct 28 17:17:24 CET 2009


On Wednesday 28 Oct 2009 16:13:30 Dan White wrote:
> How about :
> 
> QSqlQuery q1, q2, q3, q4, q5, q6, q7, q8 ;
> 
> Or some equivalent ?
Indeed, this is C++ not perl. So we deal with objects not raw handles (unless 
we have to) ;-)

A QSqlQuery object represents a single query. If you need many, just create 
many QSqlQuery objects.

Cheers,

Sean



More information about the Qt-interest-old mailing list