()
| 460 | |
| 461 | export class FnSelectWithGroupByError extends QueryCompilationError { |
| 462 | constructor() { |
| 463 | super( |
| 464 | `fn.select() cannot be used with groupBy(). ` + |
| 465 | `groupBy requires the compiler to statically analyze aggregate functions (count, sum, max, etc.) in the SELECT clause, ` + |
| 466 | `which is not possible with fn.select() since it is an opaque function. ` + |
| 467 | `Use .select() instead of .fn.select() when combining with groupBy().`, |
| 468 | ) |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | export class UnsupportedRootScalarSelectError extends QueryCompilationError { |
nothing calls this directly
no outgoing calls
no test coverage detected