I am learning QT and using QSqlQuery to fetch data from database.
I have read this documentation. I know using next() function we can iterate through rows of QSqlQuery and using value(int col) function we can get data from current row.
But i dont know how to fetch row at particular index without using next() function.