Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
SQLite drivers for Fedify
Classes
A key–value store that uses SQLite as the underlying storage.
- cas(): Promise<boolean>key: KvKey,expectedValue: unknown,newValue: unknown,options?: KvStoreSetOptions
{@inheritDoc KvStore.cas}
- delete(key: KvKey): Promise<void>
{@inheritDoc KvStore.delete}
- drop(): void
Drops the table used by the key–value store. Does nothing if the table does not exist.
- get<T = unknown>(key: KvKey): Promise<T | undefined>
{@inheritDoc KvStore.get}
- initialize(): void
Creates the table used by the key–value store if it does not already exist. Does nothing if the table already exists.
- list(prefix?: KvKey): AsyncIterable<KvStoreListEntry>
{@inheritDoc KvStore.list}
- set(): Promise<void>key: KvKey,value: unknown,options?: KvStoreSetOptions
{@inheritDoc KvStore.set}
A message queue that uses SQLite as the underlying storage.
- drop(): void
Drops the tables used by the message queue. Does nothing if the tables do not exist.
- enqueue(): Promise<void>message: any,options?: MessageQueueEnqueueOptions
{@inheritDoc MessageQueue.enqueue}
- enqueueMany(): Promise<void>messages: readonly any[],options?: MessageQueueEnqueueOptions
{@inheritDoc MessageQueue.enqueueMany}
- initialize(): void
Creates the message queue table if it does not already exist. Does nothing if the table already exists.
- listen(): Promise<void>handler: (message: any) => Promise<void> | void,options?: MessageQueueListenOptions
{@inheritDoc MessageQueue.listen}
- nativeRetrial: boolean
SQLite message queue does not provide native retry mechanisms.