Defined in: packages/db/src/types.ts:15
Interface for a collection-like object that provides the necessary methods for the change events system to work
T extends object = Record<string, unknown>
TKey extends string | number = string | number
compareOptions: StringCollationConfig;
Defined in: packages/db/src/collection/index.ts:643
id: string;
Defined in: packages/db/src/collection/index.ts:279
indexes: Map<number, BaseIndex<TKey>>;
Defined in: packages/db/src/collection/index.ts:628
Pick.indexes
entries(): IterableIterator<[TKey, WithVirtualProps<T, TKey>]>;
Defined in: packages/db/src/collection/index.ts:519
Get all entries (virtual derived state)
IterableIterator<[TKey, WithVirtualProps<T, TKey>]>
Pick.entries
get(key):
| WithVirtualProps<T, TKey>
| undefined;
Defined in: packages/db/src/collection/index.ts:479
Get the current value for a key (virtual derived state)
TKey
| WithVirtualProps<T, TKey> | undefined
Pick.get
has(key): boolean;
Defined in: packages/db/src/collection/index.ts:486
Check if a key exists in the collection (virtual derived state)
TKey
boolean
Pick.has