← Back to Stormify Documentation

raw

fun raw(expression: String, alias: String? = null): SingleAggregator

Starts an aggregation from an arbitrary SQL expression. The expression is emitted verbatim into the generated SELECT list — callers are responsible for writing safe, dialect-compatible SQL.