Functions

The following functions are available globally.

  • This method sets the runtime API version, which controls whether new client behavior is adopted when the server is upgraded to a new version.

    Declaration

    Swift

    public func setFdbApiVersion(_ version: Int32)

    Parameters

    version

    The desired API version.

  • This method determines if two tuples are equal.

    Declaration

    Swift

    public func == (lhs: DatabaseValue, rhs: DatabaseValue) -> Bool

    Parameters

    lhs

    The first tuple.

    rhs

    The second tuple.

  • This method gets an ordering for two tuples.

    The tuples will be compared based on the bytes in their raw data.

    Declaration

    Swift

    public func < (lhs: DatabaseValue, rhs: DatabaseValue) -> Bool

    Parameters

    lhs

    The first tuple in the comparison.

    rhs

    The second tuple in the comparison.

    Return Value

    The comparison result

  • This method determines if two result sets have the same results.

    Declaration

    Swift

    public func == (lhs: ResultSet, rhs: ResultSet) -> Bool

    Parameters

    lhs

    The first result set.

    rhs

    The second result set.

  • This method determines if two tuples are equal.

    Declaration

    Swift

    public func == (lhs: Tuple, rhs: Tuple) -> Bool

    Parameters

    lhs

    The first tuple.

    rhs

    The second tuple.

  • This method gets an ordering for two tuples.

    The tuples will be compared based on the bytes in their raw data.

    Declaration

    Swift

    public func < (lhs: Tuple, rhs: Tuple) -> Bool

    Parameters

    lhs

    The first tuple in the comparison.

    rhs

    The second tuple in the comparison.

    Return Value

    The comparison result

  • This method determines if two result sets have the same results.

    Declaration

    Swift

    public func == (lhs: TupleResultSet, rhs: TupleResultSet) -> Bool

    Parameters

    lhs

    The first result set.

    rhs

    The second result set.