Delete a Row

A row can be deleted from a table simply by passing the ROWID as a parameter to the deteleRow() method. Multiple rows cannot be deleted at a time.

The promise returned here will be resolved to a row object which is a JSON.

Copied//Use Table Meta Object to delete a single row using ROWID which returns a promise
let datastore = app.datastore();
let table = datastore.table('SampleTable');
let rowPromise = table.deleteRow(1510000000109476);
rowPromise.then((row) => {
            console.log(row);
        });