adjustComments

fun adjustComments(position: Query.CommentPosition, content: String? = null): Query

Changes the content of the comments field at the specified position in this query.

Parameters

position

The CommentPosition in the query that should be assigned a new value.

content

The content of the comment that should be set. If left null, any comment at the specified position will be removed.

Samples

org.jetbrains.exposed.sql.tests.shared.dml.SelectTests.testSelectWithComment