Bulk Delete Rows
Note: Ensure you have installed the required package to use this SDK method.
You can use the following bulk delete utility to delete multiple rows of data from a table in the Catalyst DataStore. The required table is referred to using its ID or name.
The required ROWIDs of the rows to be deleted needs to be passed as an array to the deleteRows() method. You can pass a maximum of 200 ROWIDs at one time.
The datastore reference used in the following code snippet is the component instance.
copy
const datastore = new Datastore(); // get datastore instance
const table = datastore.table("EmpDetails"); // Pass the table ID or table name
const row = await table.deleteRows([ // Pass the ROWIDs of the records to be deleted
1028000000171815,
1028000000171810,
1028000000171805,
1028000000171617,
1028000000171098
]);
console.log(row);
Note: You can delete a maximum of 200 rows from a table at one time.
Last Updated 2026-07-02 14:51:41 +0530 IST
Yes
No
Send your feedback to us
Skip
Submit