copy

fun copy(from: QueryField<*> = this.from, to: QueryField<*> = this.to, unit: DateDiffUnit = this.unit): AggregationExpression.DateDiff

This DateDiff with the given values replaced; for Wow's own query rewriting.