[PyQt] How to retrieve number of fields of a query from QSqlQuery object

bar tomas bartomas at gmail.com
Wed Mar 24 16:23:43 GMT 2010


Hi,
QSqlQuery's size method gives the number of rows retrieved with a
query. But is there some way to get the number of fields (columns) of
that query?
Many thanks.


More information about the PyQt mailing list