Skip to main content
Version: 5.11.8

SetDelete(Where), SetDeleteV2(inDate)

public TransactionValue SetDeleteV2(string tableName, string indate, string owner_inDate)
public TransactionValue SetDelete(string tableName, Where where)

Parameters

ValueTypeDescription
tableNamestringName of table to modify
inDatestring(Selection) inDate of the row to delete
owner_inDatestringinDate of the user who owns the row
whereWhere(Selection) Where condition to search the row to delete

Description

The command to delete the table is returned.
Upon the deletion using the inDate in TransactionWriteV2, SetDeleteV2 must be used; SetDelete is unavailable.

Example

List<TransactionValue> transactionValues = new List<TransactionValue>();

//When removing row of your inDate
transactionValues.Add(TransactionValue.SetDeleteV2("tableName", "indate", Backend.UserInDate));

//When removing row of your inDate
transactionValues.Add(TransactionValue.SetDeleteV2("tableName", "indate", "owner_inDate"));

// OR

Where where = new Where();
where.Equal("name", "dragon_sword");
transactionValues.Add(TransactionValue.SetDelete("tableName", where));