Query

public struct Query: Fn

Query constructs an instance of @query type with the specified lambda.

Reference.

  • Declaration

    Swift

    public init(_ lambda: Expr)

    Parameters

    lambda

    Lambda expression.

  • Declaration

    Swift

    public init(_ lambda: (Expr) -> Expr)

    Parameters

    lambda

    Lambda expression represented by a Swift closure.

  • Declaration

    Swift

    public init(_ lambda: ((Expr, Expr)) -> Expr)

    Parameters

    lambda

    Lambda expression represented by a swift closure.

  • Declaration

    Swift

    public init(_ lambda: ((Expr, Expr, Expr)) -> Expr)

    Parameters

    lambda

    Lambda expression represented by a Swift closure.

  • Declaration

    Swift

    public init(_ lambda: ((Expr, Expr, Expr, Expr)) -> Expr)

    Parameters

    lambda

    Lambda expression represented by a Swift closure.

  • Declaration

    Swift

    public init(_ lambda: ((Expr, Expr, Expr, Expr, Expr)) -> Expr)

    Parameters

    lambda

    Lambda expression represented by a Swift closure.