NoReplaceIntoRule

Reports MySQL REPLACE INTO statements.

REPLACE deletes conflicting rows before inserting, which can trigger cascading side effects that are easy to miss in application code.

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
open override val targetDialect: DialectId

Functions

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