Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QSqlTableModel - table name issue in Postresql

$
0
0
Hi All, Recently I noticed that I’ve to add double quotes to table’s name for calling Postgresql’s table while it’s not required for MySQL or SQLite tables!! how can I make QSqlTableModel works in same way for three types of SQL databases? Posgtresql: p_tableModel->setTable("\"Persons\""); MySQL & SQLite: p_tableModel->setTable("Persons");

Viewing all articles
Browse latest Browse all 18427

Trending Articles