(Quick Reference)

comment

Purpose

Sets the comment to use when generating the table’s creation SQL (DDL).

Examples

class Book {
   static mapping = {
      comment "your comment here"
   }
}

Description

Usage: comment(string)

Arguments:

  • comment - The comment