What is "doSomething()" doing ?
What is "doSomething()" doing ?
let's say as follows,
so this mean that the "while" loop need too much time to execute itself. Now i notice that tableA has a field which store blob, once i don't select this field, then the speed become fast! Why and how to deal with blob with QSqlTableModel?
thanks!
BLOB is just a collection of bytes, it could be anything (for example image data), and it is up to the application to interpret it correctly. Looks like in your case it is quite large, so it affects the performance of your queries.
BLOBS are presented by Qt as a QVariant::ByteArray.
Bookmarks