removeFrom*
Purpose
Opposite of the addTo method in that it removes instances from an association.
Examples
def author = Author.findByName("Stephen King")def book = author.books.find { it.title == 'The Stand' }
author.removeFromBooks(book)
(Quick Reference)
removeFrom*PurposeOpposite of the addTo method in that it removes instances from an association. Examplesdef author = Author.findByName("Stephen King") |
Command LineConstraintsControllersDatabase MappingDomain ClassesPlug-insServicesServlet APITag LibrariesTags |