Most example I was able to find were putting sql data into PyQt list/table
widgets. But I wasn't able to find example to do basic query. Can anyone
help give me some basic please?
For example, if I query selecting from a table with 3 records
query = QtSql.QSqlQuery(db)
query.exec_("SELECT id, password FROM user")
How do I access each record and return them as ordinary Python strings and
not QString?
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt