NoSelfColumnAliasRule

Reports SELECT result aliases that repeat the source column name.

Self aliases do not add a stable API name in SQLDelight generated code. The rule only checks simple column references and leaves computed expressions to explicit aliasing rules.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val defaultEnable: Boolean = true
Link copied to clipboard
open override val defaultSeverity: Severity
Link copied to clipboard
Link copied to clipboard
open override val id: RuleId
Link copied to clipboard
open val options: Set<RuleOption<*>>
Link copied to clipboard

Functions

Link copied to clipboard
open fun isApplicable(context: RuleContext): Boolean
Link copied to clipboard
open override fun run(context: RuleContext, reporter: DiagnosticReporter)