[Resolved] Is QSqlRecord lazy loading?
-
wrote on 22 May 2015, 13:24 last edited by sharethl
On Line 1, is the QSqlTableModel fetch all fields from first record in database ?
Or it will wait until Line 2, to fetch required field base on request?Line 1
QSqlRecord record = model->record(0);Line 2:
auto guid = record.value(columnName).toUuid();Thanks
-
Hi,
AFAIK, and based on the doc, the record returned is populated.
1/2