remove

Removes the specified Model object or data item from the item list.

var dataSource = new shield.DataSource({
    read: "/get_all.php",
    modify: {
        create: "/handle_updates.php",
        update: "/handle_updates.php",
        remove: "/handle_updates.php"
    }
    schema: {
        fields: {
            Id: { path: "id", type: Number },
            Name: { path: "name", type: String }
        }
    }
});

// get an editable model for the second item
var model = dataSource.edit(1);

// remove the second item obtained above
dataSource.remove(model);

// save the changes
dataSource.save();