Hello,

Is there any way to get the rowid from a Sqlite table's row using QSqlTableModel?
I tried the following line but it didn't works:

Qt Code:
  1. model->record(currentSelection.at(0).row()).value("rowid")
To copy to clipboard, switch view to plain text mode 

Thanks in advance