- Preparing search index...
- The search index is not available
cybe-db
Constructors
constructor
- new DB<T>(path: string, options?: Config): DB<T>
-
Parameters
-
path: string
-
Optional options: Config
Returns DB<T>
Properties
Optional debugger
debugger?: default
Methods
delete
- delete(id: string): DB<T>
-
Returns DB<T>
deleteAll
- deleteAll(): DB<T>
-
Returns DB<T>
has
- has(id: string): boolean
-
Returns boolean
save
- save(): DB<T>
-
Returns DB<T>
set
- set(id: string, val: T): DB<T>
-
Returns DB<T>
toString
- toString(): string
-
Returns string
Constructor function