Vote count:
0
When deleting an instance with Grails I can perform
def user = User.get(1)
user.delete(flush: true)
For an instance I can validate if a save operation will succeed:
user.validate()
Is it possible to validate if a delete() will be successful before doing delete?
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire