Readonly
dbConvenience method to convert a document to something.
A transformFn
function to pass to the standard
select/delete/upsert/etc methods.
The function which will be called with a single document object. Guaranteed not to be null.
Get an existing event based on the provided matrix IDs.
A promise which resolves to the StoredEvent or null.
The ID of the room.
The ID of the event.
Get an existing event based on the provided remote IDs.
A promise which resolves to the StoredEvent or null.
The ID of the room.
The ID of the event.
Remove entries based on the event data.
The event to remove.
Insert an event, clobbering based on the ID of the StoredEvent.
Generated using TypeDoc
Construct a store suitable for event mapping information. Data is stored as StoredEvents.
Param
The connected NEDB database instance