Deletes the message associated with the id provided.
Optional
options: MessageStoreOptionsFetches a single message by cid
from the underlying store.
Returns undefined
no message was found.
Optional
options: MessageStoreOptionsadds a message to the underlying store. Uses the message's cid as the key
indexes (key-value pairs) to be included as part of this put operation
Optional
options: MessageStoreOptionsQueries the underlying store for messages that matches the provided filters. Supplying multiple filters establishes an OR condition between the filters.
Optional
messageSort: MessageSortOptional
pagination: PaginationOptional
options: MessageStoreOptionsStatic
buildBuilds the IndexLevel QueryOptions object given MessageStore sort and pagination parameters.
A simple implementation of MessageStore that works in both the browser and server-side. Leverages LevelDB under the hood.