deleteOne
Purpose
Deletes one of the domain class instances for the specified idExamples
Book.deleteOne(bookId)
Description
The basic syntax for the method is:Book.deleteOne( String id )
id
- Id of the entity to delete
GORM implementation for the MongoDB NoSQL database based on the Morphia library
(Quick Reference)
deleteOnePurposeDeletes one of the domain class instances for the specified idExamplesBook.deleteOne(bookId) DescriptionThe basic syntax for the method is:Book.deleteOne( String id )
|