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>.getRow() -> [ String : Any? ]
A sample code snippet is shown below:
copyZCatalystApp.shared.getDataStoreInstance(tableIdentifier: "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 )" ) } }
Last Updated 2023-09-14 18:05:46 +0530 +0530
Yes
No
Send your feedback to us
Skip
Submit