Function PreparedImpl.exec

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

This method is intended for commands such as 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), mysql.exceptions.MySQLResultRecievedException will be thrown.

Prototype

ulong exec();

Returns

The number of rows affected.

Authors

Copyright

License