Created
July 4, 2012 18:08
-
-
Save paganotoni/3048674 to your computer and use it in GitHub Desktop.
Grails has Many deletion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Child child = Child.get( childId ) | |
Parent parent = child.parent | |
parent.children.remove( child ) | |
child.delete() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment