Delete Record

Usage

.delete(id: string)

Example

// load data
const data = {
    instruments = await new InstrumentModel().load()
};

// delete an instrument
const deletedInstrument = data.instruments.delete(
    '8d961961-6323-48b3-b4b4-849daa1ac3ed'
);