Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // delete author with id 1
- new Author({id: 1})
- .destroy()
- .then(delete => {
- console.log(delete);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement