Protocols

The following protocols are available globally.

  • A protocol that represents a key used for indexing in a database.

    Types conforming to this protocol must be both Hashable and Codable, ensuring that they can be used as unique keys in collections like dictionaries and can be serialized/deserialized for persistence or transmission.

    Declaration

    Swift

    public protocol IndexKey : Decodable, Encodable, Hashable