Skip to content

Latest commit

 

History

History
61 lines (31 loc) · 1.38 KB

RIDB.md

File metadata and controls

61 lines (31 loc) · 1.38 KB

@elribonazo/ridbDocs


@elribonazo/ridb / RIDB

Class: RIDB<T>

Type Parameters

T extends SchemaTypeRecord

Constructors

new RIDB()

new RIDB<T>(schemas): RIDB<T>

Parameters

schemas: T

Returns

RIDB<T>

Defined in

ts/src/index.ts:171

Accessors

collections

get collections(): { [name in string | number | symbol]: Collection<Schema<T[name]>> }

Returns

{ [name in string | number | symbol]: Collection<Schema<T[name]>> }

Defined in

ts/src/index.ts:182

Methods

start()

start(storageType?): Promise<Database<T>>

Parameters

storageType?: typeof BaseStorage

Returns

Promise<Database<T>>

Defined in

ts/src/index.ts:195