Create a New Row Instance

You can create a new row instance for a particular table in the Data Store , and enable the methods defined in this class to access the instance object. This prevents unnecessary server calls.

A row instance can be created by calling the newRow() method, as shown in the code syntax below.

The <TABLE_INSTANCE> used here is the instance defined in the Table Instance page .

    
copy
<TABLE_INSTANCE>.newRow() -> ZCatalystRow

A sample code snippet is shown below:

    
copy
let instance = ZCatalystApp.shared.getDataStoreInstance().getTableInstance(id: 1096000000002071).newRow() //Replace this with your table ID

ON THIS PAGE