From

public final class From: Query, WhereRouter, OrderByRouter

A From component representing a FROM clause for specifying the data source of the query.

  • Create and chain a WHERE component for specifying the WHERE clause of the query.

    Declaration

    Swift

    public func `where`(_ whereExpression: Expression) -> Where
  • Create and chain an ORDER BY component for specifying the order of the query result.

    Declaration

    Swift

    public func orderBy(_ orders: OrderBy...) -> OrderBy