having

fun having(condition: String?): SelectQuery

Sets the HAVING condition, which requires a GROUP BY. null or blank leaves the clause out.