Structures

The following structures are available globally.

  • This type describes a key or value in the database.

    It provides a thin wrapper around the raw sequence of bytes.

    See more

    Declaration

    Swift

    public struct DatabaseValue : Equatable, Hashable, Comparable, ExpressibleByStringLiteral
  • This type provides a selector for specifying keys in a range read.

    Key ranges are specified relative to an anchor key, and allow finding the first key greater than or less than that key. They also allow specifying offsets to say that we should skip a certain number of keys forward or backward before finding the real key for the range.

    See more

    Declaration

    Swift

    public struct KeySelector
  • This type describes the results of a reading a range of keys from the database.

    See more

    Declaration

    Swift

    public struct ResultSet : Equatable
  • This type describes a tuple of values that are part of a key or a value in the database.

    See more

    Declaration

    Swift

    public struct Tuple : Equatable, Hashable, Comparable
  • This type describes the results of a reading a range of keys from the database.

    See more

    Declaration

    Swift

    public struct TupleResultSet : Equatable