接口 DeleteStatement
-
- 所有超级接口:
Statement<DeleteStatement,Result>
- 所有已知实现类:
DeleteStatementImpl
public interface DeleteStatement extends Statement<DeleteStatement,Result>
A statement to delete rows from a table.
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.mysql.cj.xdevapi.Statement
Statement.LockContention
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 DeleteStatementlimit(long numberOfRows)Add/replace the row limit for the deletion.DeleteStatementorderBy(String... sortFields)Add/replace the order by specification for the deletion.DeleteStatementwhere(String searchCondition)Add/replace the filter for the deletion.-
从接口继承的方法 com.mysql.cj.xdevapi.Statement
bind, bind, bind, bind, clearBindings, execute, executeAsync
-
-
-
-
方法详细资料
-
where
DeleteStatement where(String searchCondition)
Add/replace the filter for the deletion.- 参数:
searchCondition- condition expression- 返回:
DeleteStatement
-
orderBy
DeleteStatement orderBy(String... sortFields)
Add/replace the order by specification for the deletion.- 参数:
sortFields- sort expression- 返回:
DeleteStatement
-
limit
DeleteStatement limit(long numberOfRows)
Add/replace the row limit for the deletion.- 参数:
numberOfRows- limit- 返回:
DeleteStatement
-
-