View Full Version : Are QSql::Out and QSql::InOut used outside of calling a store procedure?

31st August 2014, 22:05
I am using Qt5 to access a MySQL database. It is easy to execute INSERT queries using QSqlQuery + prepare() + bindValue().

Now I noticed that bindValue() has an optional paramType parameter that can be set to QSql::Out and QSql::InOut.

Is it correct that the QSql::Out and QSql::InOut arguments are useful when CALLing procedures and that they have no use for lets say a SELECT statement? Are there other use cases than CALL?