QueryRow

public class QueryRow

A row of data generated by a Query.

  • The ID of the document that produced this row.

    Declaration

    Swift

    public var documentID: String
  • The sequence number of the document revision that produced this row.

    Declaration

    Swift

    public var sequence: UInt64
  • The document that produced this row.

    Declaration

    Swift

    public var document: Document
  • The projecting result value at the given index.

    Declaration

    Swift

    public func value(at index: Int) -> Any?

    Parameters

    index

    The index.

    Return Value

    The value.

  • The projecting result value at the given index as a Boolean value.

    Declaration

    Swift

    public subscript(index: Int) -> Bool

    Parameters

    index

    The index.

  • The projecting result value at the given index as an Integer value.

    Declaration

    Swift

    public subscript(index: Int) -> Int

    Parameters

    index

    The index.

  • The projecting result value at the given index as an Integer value.

    Declaration

    Swift

    public subscript(index: Int) -> Int64

    Parameters

    index

    The index.

  • The projecting result value at the given index as a Float value.

    Declaration

    Swift

    public subscript(index: Int) -> Float

    Parameters

    index

    The index.

  • The projecting result value at the given index as a Double value.

    Declaration

    Swift

    public subscript(index: Int) -> Double

    Parameters

    index

    The index.

  • The projecting result value at the given index as an String value.

    Declaration

    Swift

    public subscript(index: Int) -> String?

    Parameters

    index

    The index.

  • The projecting result value at the given index as a Date value.

    Declaration

    Swift

    public subscript(index: Int) -> Date?

    Parameters

    index

    The index.

  • The projecting result value at the given index as an Array value.

    Declaration

    Swift

    public subscript(index: Int) -> [Any]?

    Parameters

    index

    The index.

  • The projecting result value at the given index as a Dictionary value.

    Declaration

    Swift

    public subscript(index: Int) -> [String:Any]?

    Parameters

    index

    The index.

  • The projecting result value at the given index as an Object value.

    Declaration

    Swift

    public subscript(index: Int) -> Any?

    Parameters

    index

    The index.