prorm API Reference
    Preparing search index...

    Interface AerospikeStoreOptions

    Connection options for AerospikeStore.

    interface AerospikeStoreOptions {
        hosts?: AerospikeHost[];
        namespace?: string;
        set?: string;
        config?: Record<string, unknown>;
        client?: AerospikeClientLike;
    }
    Index
    hosts?: AerospikeHost[]

    One or more Aerospike hosts, e.g. [{ addr: '127.0.0.1', port: 3000 }].

    namespace?: string

    Default namespace applied to keys that don't specify one.

    set?: string

    Default set applied to keys that don't specify one. Defaults to ''.

    config?: Record<string, unknown>

    Escape hatch for any other aerospike config field (policies, auth, TLS, ...). Merged into the config passed to Aerospike.connect().

    client?: AerospikeClientLike

    A pre-built aerospike client (or a compatible mock). When provided, connect() uses it directly and skips require('aerospike') entirely — this is how tests inject a mock without the real driver installed.