Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[Resolved] Is QSqlRecord lazy loading?
sharethl 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?
QSqlRecord record = model->record(0);
auto guid = record.value(columnName).toUuid();
AFAIK, and based on the doc, the record returned is populated.