src/rest_client.js
async function deleteEntries(worksheetInfo, entityIds) {

    entityIds.reverse();

    // since google pushes up the removed row, the ID will change to the previous
    // avoiding this iterate through the collection in reverse order
    // TODO: needs performance improvement
    var response;

    for (let id of entityIds) {
        let payload = util._extend({entityId: id}, worksheetInfo);
        response = await executeRequest('delete_entry', payload);
    }

    cache.clear();
    return response;
}
async function deleteEntries(worksheetInfo, entityIds) {

    entityIds.reverse();

    // since google pushes up the removed row, the ID will change to the previous
    // avoiding this iterate through the collection in reverse order
    // TODO: needs performance improvement
    var response;

    for (let id of entityIds) {
        let payload = util._extend({entityId: id}, worksheetInfo);
        response = await executeRequest('delete_entry', payload);
    }

    cache.clear();
    return response;
}
async function deleteEntries ( worksheetInfo , entityIds ) { entityIds . reverse ( ) ; // since google pushes up the removed row, the ID will change to the previous // avoiding this iterate through the collection in reverse order // TODO: needs performance improvement var response ; for ( let id of entityIds ) { let payload = util . _extend ( { entityId : id } , worksheetInfo ) ; response = await executeRequest ( 'delete_entry' , payload ) ; } cache . clear ( ) ; return response ; }
Deletes specified entries

@param {object} worksheetInfo worksheetInfo SheetID and worksheetID
@param {array} entityIds IDs of the entities
Deletes specified entries