[jOOQ/jOOQ#14510] Add Field<T>.comment(Comment): Field<T>

This commit is contained in:
Lukas Eder 2023-01-17 17:02:37 +01:00
parent e9bc9cf5cb
commit 86e502a9d2

View File

@ -295,12 +295,16 @@ extends
* Attach a {@link Comment} to this field, for use in DDL statements, such
* as {@link DSLContext#createTable(Table)}.
*/
@NotNull
@Support({ FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, YUGABYTEDB })
Field<T> comment(String comment);
/**
* Attach a {@link Comment} to this field, for use in DDL statements, such
* as {@link DSLContext#createTable(Table)}.
*/
@NotNull
@Support({ FIREBIRD, H2, HSQLDB, MARIADB, POSTGRES, YUGABYTEDB })
Field<T> comment(Comment comment);
// ------------------------------------------------------------------------