Skip to main content

Remove

remove api can be used to remove records from a table. where can be used to filter target records.

Sql

Delete From Table_Name
Where
Column1=some_value
and
Column2=some_another_value;

JsStore

var rowsDeleted = await connection.remove({
from: "Table_Name",
where: {
column1: some_value,
column2: some_another_value
}
});
//results will contains no of rows deleted.
console.log(rowsDeleted);

Example