for (int i = 0; i < queryParameters.size(); i++) lQueryText.replace(queryParameters.keys().at(i), queryParameters.value(queryParameters.keys().at(i)));
query.exec(QString ("SELECT * FROM table_name WHERE id=%1").arg(idString));