RowSelect

public final class RowSelect: Selectable

Chain call for row-selecting

  • tag

    The tag of the related database.

    Declaration

    Swift

    public var tag: Tag?
  • The path of the related database.

    Declaration

    Swift

    public var path: String
  • Get next selected row. You can do an iteration using it.

    while let row = try rowSelect.nextRow() {
        print(row[0].int32Value)
        print(row[1].int64Value)
        print(row[2].doubleValue)
        print(row[3].stringValue)
    }
    

    Throws

    Error

    Declaration

    Swift

    public func nextRow() throws -> FundamentalRow?

    Return Value

    Array with FundamentalValue. Nil means the end of iteration.

  • Get all selected row.

    Throws

    Error

    Declaration

    Swift

    public func allRows() throws -> FundamentalRowXColumn

    Return Value

    Array with Array<FundamentalValue>

  • Get next selected value. You can do an iteration using it.

    while let value = try nextValue() {
        print(value.int32Value)
    }
    

    Throws

    Error

    Declaration

    Swift

    public func nextValue() throws -> FundamentalValue?

    Return Value

    FundamentalValue. Nil means the end of iteration.

  • Get all selected values.

    Throws

    Error

    Declaration

    Swift

    public func allValues() throws -> FundamentalColumn

    Return Value

    Array with FundamentalValue.