Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QT を学習し、QSqlQuery を使用してデータベースからデータを取得しています。
このドキュメントを読みました。next() 関数を使用して QSqlQuery の行を反復処理し、value(int col) 関数を使用して現在の行からデータを取得できることを知っています。
しかし、next() 関数を使用せずに特定のインデックスで行をフェッチする方法がわかりません。