public interface Comment extends QueryPart
Most RDBMS support commenting (i.e. documenting) stored objects, such as
Schema
, Table
, Field
, and other objects. Such
comments can be modelled in DDL statements as well as retrieved from meta
data through the Comment
type.
Example:
// Assuming import static org.jooq.impl.DSL.*;
using(configuration)
.commentOnTable(TABLE)
.is(comment("My Comment"))
.execute();
Instances can be created using DSL.comment(String)
and overloads.
Modifier and Type | Method and Description |
---|---|
String |
getComment()
Get the comment.
|
String getComment()
Copyright © 2021. All rights reserved.