PreparedImpl.exec

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

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), mysql.exceptions.MySQLResultRecievedException will be thrown.

struct PreparedImpl
ulong
exec
()

Return Value

Type: ulong

The number of rows affected.

Meta