Delete a Row

Catalyst Flutter SDK enables you to delete a single row from a specific Data Store table. However, you will not be able to delete multiple rows at a time.

You can delete a row from a table by fetching the row instance and passing it to the delete() method.

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

    
copy
Future<void> <ROW_INSTANCE>.delete()

A sample code snippet with fetching the row instance is shown below:

    
copy
ZCatalystTable table = app.getDataStoreInstance().getTableInstance('Products'); var (_, row) = await developers.getRow(1624000000139040); await row.delete();

Last Updated 2024-09-12 18:16:13 +0530 +0530

ON THIS PAGE