Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

constraint in grails

grails.gorm.default.constraints = {
    '*'(nullable: true, size: 1..20)
    myShared(nullable: false, blank: false)
}
Source by docs.grails.org #
 
PREVIOUS NEXT
Tagged: #constraint #grails
ADD COMMENT
Topic
Name
1+4 =