Class TableDeleteStatement
Represents a chaining table delete statement.
Inheritance
TableDeleteStatement
Namespace: MySqlX.XDevAPI.Relational
Assembly: MySql.Data.dll
Version: 9.0.0
Syntax
public class TableDeleteStatement : FilterableStatement<TableDeleteStatement, Table, Result, string>
Methods
Execute()
Executes the delete statement.
Declaration
public override Result Execute()
Returns
Type | Description |
---|---|
Result | A Result object containing the results of the delete execution. |
Overrides
MySqlX.XDevAPI.Common.BaseStatement<MySqlX.XDevAPI.Common.Result, System.String>.Execute()
OrderBy(String[])
Sets user-defined sorting criteria for the operation. The strings use normal SQL syntax like "order ASC" or "pages DESC, age ASC".
Declaration
public TableDeleteStatement OrderBy(params string[] order)
Parameters
Type | Name | Description |
---|---|---|
String[] | order | The order criteria. |
Returns
Type | Description |
---|---|
TableDeleteStatement | A generic object representing the implementing statement type. |