Skip to content

Protocol

SQLQueryFetcher

Common definitions for SQLQueryBuilders which support retrieving result rows.
protocol SQLQueryFetcher : SQLQueryBuilder

Mentioned in

Topics

Getting Rows

  • run(_:)
    Run the query specified by the builder, calling the provided handler closure with each output row, if any, as it is received.
  • run(decoding:_:)
    Using a default-configured SQLRowDecoder, call the provided handler closure with the result of decoding each output row, if any, as a given type.
  • run(decoding:prefix:keyDecodingStrategy:userInfo:_:)
    Configure a new SQLRowDecoder as specified, use it to to decode each output row, if any, as a given type, and call the provided handler closure with each decoding result.
  • run(decoding:with:_:)
    Using the given SQLRowDecoder, call the provided handler closure with the result of decoding each output row, if any, as a given type.

Getting All Rows

Getting One Row

Legacy `EventLoopFuture` Interfaces

Instance Methods

Relationships

Inherits From

Conforming Types

See Also

Builder Protocols

  • SQLAliasedColumnListBuilder
    Common definitions for query builders which permit specifying aliased column names.
  • SQLColumnUpdateBuilder
    Common definitions for query builders which support assigning values to columns.
  • SQLJoinBuilder
    Common definitions for any query builder which permits specifying joins.
  • SQLPartialResultBuilder
    Common definitions for any query builder which permits specifying range and ordering behaviors.
  • SQLPredicateBuilder
    Common definitions for any query builder which permits specifying a primary predicate.
  • SQLQueryBuilder
    Base definitions for builders which set up queries and execute them against a given database.
  • SQLReturningBuilder
    Common definitions for any query builder which can return values from data-mutating queries.
  • SQLSecondaryPredicateBuilder
    Common definitions for any query builder which permits specifying a secondary predicate.
  • SQLSubqueryClauseBuilder
    A builder which can construct - but not execute - a complete SELECT query. Useful for building CTEs, CREATE TABLE ... SELECT clauses, etc., not to mention actual SELECT queries.
  • SQLUnqualifiedColumnListBuilder
    Common definitions for query builders which permit or require specifying a list of unqualified column names.