title: Get data from sqlite database using qt
body: <p>I want to get data from sqlite database, i use this code it's work only for small row but when try something big like 300000 its not working
  the code: </p>
  
  <pre><code>  QString serVal = "searchItem";
          QSqlQuery qry;
  
              qry.exec("select * from myTable");
  
              while (qry.next()) { 
                   if(serVal == qry.value("myCol1").toString())
                   {
                       qDebug () &lt;&lt; qry.value("myCol2").toString();
                       qDebug () &lt;&lt; qry.value("myCol5").toString();
                       qDebug () &lt;&lt; qry.value("myCol8").toString();
                       break;
  
                   }
              }
  </code></pre>