Interface KeyOptions

A key uniquely identifies a record in the Aerospike database within a given namespace.

In your application, you must specify the namespace, set and the key itself to read and write records. When a key is sent to the database, the key value and its set are hashed into a 160-bit digest. When a database command returns a key (e.g. Query or Scan commands) it might contain either the set and key value, or just the digest.

interface KeyOptions {
    digest?: Buffer;
    key?: string | number | Buffer;
    ns: string;
    set: string;
}

Implemented by

Properties

Properties

digest?: Buffer

The digest value of the key.

key?: string | number | Buffer

The unique key value. Keys can be strings, integers or an instance of the Buffer class.

ns: string

The Namespace to which the key belongs.

set: string

The Set to which the key belongs.

MMNEPVFCICPMFPCPTTAAATR