api-docs / org.ktorm.database / Database / executeUpdate
executeUpdate
fun executeUpdate(expression: SqlExpression): Int
(source code)Format the given expression to a SQL string with its execution arguments, then execute it via
PreparedStatement.executeUpdate and return the effected row count.
Parameters
expression
- the SQL expression to be executed.
Since
2.7
Return
the effected row count.