Interface TripleStore<Id, V>

Tagged entity-attribute-value triplestore.

interface TripleStore {
    [rangeQueryable]: true;
    delete(key, options?): unknown;
    deleteMany(keys, options?): MaybeAsyncIterableIterator<undefined | Error>;
    entries(options?): MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>;
    entriesByAttr(options?): MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>;
    findMany(keys, options?): MaybeAsyncIterableIterator<MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>>;
    findManyByAttr(keys, options?): MaybeAsyncIterableIterator<MaybeAsyncIterableIterator<[EntityAttrKey<Id>, V]>>;
    get(key, options?): MaybePromise<undefined | V>;
    getMany(keys, options?): MaybeAsyncIterableIterator<undefined | V>;
    has(key, options?): MaybePromise<boolean>;
    hasMany(keys, options?): MaybeAsyncIterableIterator<boolean>;
    keys(options?): MaybeAsyncIterableIterator<EntityAttrKey<Id>>;
    keysByAttr(options?): MaybeAsyncIterableIterator<EntityAttrKey<Id>>;
    set(key, value, options?): unknown;
    setMany(entries, options?): MaybeAsyncIterableIterator<undefined | Error>;
    updateMany(entries, options?): MaybeAsyncIterableIterator<undefined | Error>;
    values(options?): MaybeAsyncIterableIterator<V>;
    valuesByAttr(options?): MaybeAsyncIterableIterator<V>;
}

Type Parameters

  • Id

  • V

Hierarchy

Implemented by

Properties

[rangeQueryable]: true

Marker to indicate that this object is a RangeQueryable.

Methods

Generated using TypeDoc