Create Record

Usage

.create(data: any)

Example

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

// create an instrument
const newInstrument = data.instruments.create({
    name: 'Trombone',
    type: 'brass'
});