(Quick Reference)

deleteOne

Purpose

Deletes one of the domain class instances for the specified id

Examples

Book.deleteOne(bookId)

Description

The basic syntax for the method is:

Book.deleteOne( String id )

Parameters:

  • id - Id of the entity to delete