you can try something like:
Qt Code:
QString nomor; nomor.append("("); for (int i=0; i < n; i++) { if (i != n-1) { nomor.append(", "); } } nomor.append(")"); sql.bindValue(":intarraycolumn", nomor);To copy to clipboard, switch view to plain text mode




Reply With Quote
Bookmarks