Function PreparedImpl.exec

Execute a prepared command, such as INSERT/UPDATE/CREATE/etc.

ulong exec ();

This method is intended for commands which do not produce a result set (otherwise, use one of the query functions instead.) If the SQL command does produces a result set (such as SELECT), MySQLResultRecievedException will be thrown.

Returns

The number of rows affected.