Skip to content

Structure

SQLUnionSubquery

A trivial copy of SQLSubquery with a different type for its subquery property.
struct SQLUnionSubquery

Overview

As with SQLCommonUnionBuilder, this type is only necessary because of design oversights made when the original support for unions was added (the way subquery support, which was not implemented at the time, would work was not anticipated, so some types got more hardcoded than was wise); we can’t fix them without breaking public API, so this annoying duplication of code is used as a workaround.

See also SQLUnionSubqueryBuilder.

Topics

Initializers

  • init(_:)
    Create a new subquery expression from a select query.

Instance Properties

Instance Methods

  • serialize(to:)
    Invoked when a request is made to serialize the expression to raw SQL.

Relationships

Conforms To