PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Types

privmx.endpoint.kvdb.Kvdb

Holds all available information about a Kvdb.

Fields

id

String The unique identifier for the kvdb. This property returns the kvdbId as a String, which serves as the unique identifier for the kvdb.

Static Methods

==(::)

Compares two Kvdb instances for equality.

Params

lhs

privmx.endpoint.kvdb.Kvdb

The left-hand side Kvdb instance.

rhs

privmx.endpoint.kvdb.Kvdb

The right-hand side Kvdb instance.

public static func == (
lhs: privmx.endpoint.kvdb.Kvdb,
rhs: privmx.endpoint.kvdb.Kvdb
) -> Bool

Returns

Bool · true if all relevant fields of both kvdbs are equal, otherwise false.

Methods

hash(into:)

Generates a hash value for the Kvdb instance. This function combines several properties, including kvdbId, lastModificationDate, lastEntryDate, and version to generate a unique hash value for the kvdb.

Params

hasher

inout Hasher

The Hasher instance used to compute the hash value.

public func hash(into hasher: inout Hasher) -> Void

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.