I have a column with type integer array (postgresql). But I don't know how to insert data with bindValue. I tried QVariantList, but failed.


Qt Code:
  1. QVariantList nomor;
  2. nomor << 1 << 2 << 3 << 4;
  3.  
  4. sql.bindValue(":intarraycolumn", nomor);
To copy to clipboard, switch view to plain text mode 

Need your help