executeUpdate

abstract fun executeUpdate(): Int

Executes an SQL statement stored in a PreparedStatement.

Return

The affected row count if the executed statement is a DML type; otherwise, 0 if the statement returns nothing.