Interface DeleteStatement
- All Superinterfaces:
Statement
- All Known Implementing Classes:
DeleteStatementDefault
-
Method Summary
Modifier and TypeMethodDescriptionint
delete()
Execute the delete query and return the number of affected rows.<T> List<T>
delete
(ResultSetHandler<T> resultSetHandler) Execute the delete query and return a result set.Methods inherited from interface org.spincast.plugins.jdbc.statements.Statement
clearSql, clearSql, getSql, setBoolean, setDate, setDouble, setFloat, setInInteger, setInLong, setInstant, setInString, setInStringFromEnumNames, setInStringFromEnumNames, setInteger, setLong, setLongList, setString, sql
-
Method Details
-
delete
int delete()Execute the delete query and return the number of affected rows. -
delete
Execute the delete query and return a result set.This can be used with a
RETURNING
clause.
-