SqlFacts

class SqlFacts(val statements: List<SqlStatementFacts> = emptyList())

Stable SQL structure facts exposed to custom rules.

The model is owned by sqldelight-check so rules do not depend on SQLDelight compiler or IntelliJ PSI classes. Core analysis may populate these facts from SQLDelight, SQL-PSI, or a conservative source scanner depending on adapter support for the current SQLDelight version.

Constructors

Link copied to clipboard
constructor(statements: List<SqlStatementFacts> = emptyList())

Properties

Link copied to clipboard

Top-level SQL statements discovered in the analyzed source file.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String