SqlStatementFacts
class SqlStatementFacts(val kind: SqlStatementKind, val range: SourceRange, val select: SqlSelectFacts? = null, val tableReferences: List<SqlTableReferenceFacts> = emptyList(), val joins: List<SqlJoinFacts> = emptyList(), val qualifiedReferences: List<SqlQualifiedReferenceFacts> = emptyList())
Stable facts for one top-level SQL statement.
Constructors
Link copied to clipboard
constructor(kind: SqlStatementKind, range: SourceRange, select: SqlSelectFacts? = null, tableReferences: List<SqlTableReferenceFacts> = emptyList(), joins: List<SqlJoinFacts> = emptyList(), qualifiedReferences: List<SqlQualifiedReferenceFacts> = emptyList())
Properties
Link copied to clipboard
JOIN clauses visible at the statement's top level.
Link copied to clipboard
Statement kind inferred from the leading SQL keyword.
Link copied to clipboard
Qualified column-like references discovered in the statement.
Link copied to clipboard
Source range covered by this statement.
Link copied to clipboard
SELECT-specific facts when this statement is a SELECT.
Link copied to clipboard
Table references visible at the statement's top level.