In grails we can use the addToPages function to add pages to a book. For example, if web have the class Book that have many pages, we can write:
book.addToPages(page)
But how can we remove a page from a book?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
removeFrom– see http://grails.org/doc/latest/ref/Domain%20Classes/removeFrom.html