Class TableInsertStatement
Represents a chaining table insert statement.
Inheritance
System.Object
TableInsertStatement
Namespace: MySqlX.XDevAPI.Relational
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public class TableInsertStatement : TargetedBaseStatement<Table, Result, string>
Methods
Execute()
Executes the insert statement.
Declaration
public override Result Execute()
Returns
Type | Description |
---|---|
Result | A Result object containing the results of the insert statement. |
Overrides
MySqlX.XDevAPI.Common.BaseStatement<MySqlX.XDevAPI.Common.Result, System.String>.Execute()
Values(Object[])
Values to be inserted. Multiple rows supported.
Declaration
public TableInsertStatement Values(params object[] values)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | values | The values to be inserted. |
Returns
Type | Description |
---|---|
TableInsertStatement | This same TableInsertStatement object. |