effectiveAlias property

String get effectiveAlias

Implementation

String get effectiveAlias {
  if (alias != null) return alias!;
  if (expr is IdentExpr) return (expr as IdentExpr).name.split('.').last;
  if (expr is AggExpr) return (expr as AggExpr).label;
  return _exprLabel(expr);
}