GetInDate
public string GetInDate();
Description
Checks the existing inDate value in returnValue.
inDate is returned based on the conditions below.
- If a piece of data with an inDate key value exists in returnValue, that value is returned.
- If a piece of data with a row key value exists in returnValue and includes data with inDate as the key value, that value is returned.
- If a piece of data with a rows key value exists in returnValue, and the first piece of data(index 0) in the list has data with inDate as the key value, that value is returned.
You can check the inDate using the GetInDate method only when the following conditions are met:
- The inDate, row, and rows keys exist in the root node of returnValue
- When searching for inDate within a row or rows value, the inDate key exists in the value
- The inDate key name is "inDate" If the name of the inDate key is not inDate(e.g., owner_inDate or gamerInDate), it cannot be checked with the GetInDate method.
Example
var bro = Backend.GameData.Insert("tableName");
string inDate = bro.GetInDate();
bro = Backend.GameData.Get("tableName", new Where());
inDate = bro.GetInDate();
Return casess
When the inDate value exists
The inDate value is returned(e.g., 2019-07-31T06:15:35.691Z).
When the inDate value does not exist
string.empty