Skip to main content

update(arrayName, data)

Updates data matching dataId in arrayName in db.json.

Updates data that matches the data id

const dbcopycat = require('dbcopycat');
dbcopycat.update(arrayName, data);