delete
Purpose
Deletes the domain class instance from databaseExamples
// get the instance def book = Book.get(bookId) // and delete it book.delete()
GORM implementation for the MongoDB NoSQL database based on the Morphia library
(Quick Reference)
deletePurposeDeletes the domain class instance from databaseExamples// get the instance def book = Book.get(bookId) // and delete it book.delete() |