@elribonazo/ridb • Docs
@elribonazo/ridb / RIDB
• T extends SchemaTypeRecord
new RIDB<
T
>(schemas
):RIDB
<T
>
• schemas: T
RIDB
<T
>
get
collections(): { [name in string | number | symbol]: Collection<Schema<T[name]>> }
{ [name in string | number | symbol]: Collection<Schema<T[name]>> }
start(
storageType
?):Promise
<Database
<T
>>
• storageType?: typeof BaseStorage
Promise
<Database
<T
>>