SetGet(Where), SetGetV2(inDate)
public TransactionValue SetGetV2(string tableName, string inDate, string owner_inDate);
public TransactionValue SetGet(string tableName, Where where);
Parameters
Value | Type | Description |
---|---|---|
tableName | string | Name of table to modify |
inDate | string | (Selection) inDate of the row to search |
owner_inDate | string | (Selection) inDate of the user who owns the row |
where | Where | (Selection) Where condition to search the row that will be searched |
Description
The command to look up the table is returned.
Upon modification using the inDate in TransactionReadV2, you must use SetGetV2; SetGet is unavailable.
Example
List<TransactionValue> transactionValues = new List<TransactionValue>();
//When the row belongs to your inDate
transactionValues.Add(TransactionValue.SetGetV2("tableName", "row indate", Backend.UserInDate));
//When the row belongs to xk inDate
transactionValues.Add(TransactionValue.SetGetV2("tableName", "row indate","owner_inDate"));
// OR
Where where = new Where();
where.Equal("owner_inDate", "inDate of the user to search");
transactionValues.Add(TransactionValue.SetGet("tableName", where));