SelectQuerySpec

data class SelectQuerySpec(val select: SelectNode, val from: FromNode = NoFrom, val where: WhereNode = NoWhere, val orderBy: OrderByNode = NoOrderBy, val limit: LimitNode = NoLimit)

Source-database-agnostic representation of a SELECT query as an abstract syntax tree. This is tailored to the subset of queries that we actually might run in a source connector.

See also optimize which does a pass to improve the AST. See also SelectQueryGenerator which acts as the "compiler backend" to generate the actual SQL.

Constructors

Link copied to clipboard
constructor(select: SelectNode, from: FromNode = NoFrom, where: WhereNode = NoWhere, orderBy: OrderByNode = NoOrderBy, limit: LimitNode = NoLimit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard