Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Database - PSQL Command
fgdevel last edited by
In my Qt application, I'm using a PostgreSQL database, and I would like to know if it's possible to run a command as I do through the psql console ? (example : "\copy (select * from variable) To '/tmp/export_bdd.csv' With CSV")
One way to do that is to use QProcess to call the psql command with what you want.
Hope it helps