According to the docs 9.4.0, an Expression can be passed in place of a column for .groupBy()
.
When I try this:
.groupBy( query.raw( "DATEPART(mm, a.projected_install), a.project_type") )
I get: Variable QUERY is undefined.
What am I missing?
ColdBox: 6.9.0+9
qb: 9.4.1 SQLGrammer: SQLServer