CustomExpr
An Exposed Function that embeds raw SQL text as a typed expression in queries.
Security: text is appended to the generated SQL verbatim, with no escaping or parameter binding, so never build it from user input or other request data: anything that reaches it is executed as SQL (SQL injection). Reserve it for fixed SQL fragments such as NOW() or CURRENT_DATE, and use Exposed's parameterized expressions (for example stringParam(...) or a comparison against a column) for anything derived from a request.
Parameters
columnType
the Exposed column type used for result mapping
Type Parameters
T
the Kotlin type this expression evaluates to