Hello
I want to get the auto generated key after insert,I found there is one overloaded function in connection.h for prepareStatement.
PreparedStatement * prepareStatement(const sql::SQLString& sql, int autoGeneratedKeys) = 0;
But how can I use it to return key?
Thanks and regards!
I want to get the auto generated key after insert,I found there is one overloaded function in connection.h for prepareStatement.
PreparedStatement * prepareStatement(const sql::SQLString& sql, int autoGeneratedKeys) = 0;
But how can I use it to return key?
Thanks and regards!