Get Row Data

The actual data of a specific row can be retrieved using getData() method, as shown below. This returns the row in a dictionary format.

The <ROW_INSTANCE> used in the code syntax below is the instance generated in the Row Instance page .

    
copy
<ROW_INSTANCE>.getData() -> [ String : Any? ]

A sample code snippet is shown below:

    
copy
ZCatalystApp.shared.getDataStoreInstance().getTableInstance(id: 1096000000002071).getRow(id: 1096000000002845) {( result ) in //Replace this with your Table ID and ROW ID switch result{ case .success ( let row) : let datas = row.getData() print(datas) case .error( let error ) : print( "Error occurred >>> \( error )" ) } }

ON THIS PAGE