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 <DATA_STORE_INSTANCE> used here is the instance defined in the Data Store Instance page.

    
copy
<DATA_STORE_INSTANCE>.newRow() -> ZCatalystRow

A sample code snippet is shown below:

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

Last Updated 2023-09-25 19:48:26 +0530 +0530

ON THIS PAGE